зеркало из https://github.com/docker/compose-cli.git
cli/mobycli: Exec(): simplify output
The command now was showing 2 informational messages (about PAT and Scan); the scan one had been there for a while so most users will know about it by now. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Родитель
d7becb4ee1
Коммит
f1aa070b81
|
@ -33,7 +33,6 @@ import (
|
|||
"github.com/docker/compose-cli/cli/metrics"
|
||||
"github.com/docker/compose-cli/cli/mobycli/resolvepath"
|
||||
"github.com/docker/compose/v2/pkg/compose"
|
||||
"github.com/docker/compose/v2/pkg/utils"
|
||||
"github.com/google/shlex"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -92,9 +91,6 @@ func Exec(root *cobra.Command) {
|
|||
}
|
||||
commandArgs := os.Args[1:]
|
||||
command := metrics.GetCommand(commandArgs)
|
||||
if command == "build" && !metrics.HasQuietFlag(commandArgs) {
|
||||
utils.DisplayScanSuggestMsg()
|
||||
}
|
||||
if command == "login" && !metrics.HasQuietFlag(commandArgs) {
|
||||
displayPATSuggestMsg(commandArgs)
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче