From f1aa070b811bb55859ab36c4ae9cdfadcd887d2c Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 6 Dec 2022 21:48:43 +0100 Subject: [PATCH] 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 --- cli/mobycli/exec.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cli/mobycli/exec.go b/cli/mobycli/exec.go index 73ba171b4..8307289af 100644 --- a/cli/mobycli/exec.go +++ b/cli/mobycli/exec.go @@ -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) }