diff --git a/cmd/importURL.go b/cmd/importURL.go index 69c32e8e..8244d38c 100644 --- a/cmd/importURL.go +++ b/cmd/importURL.go @@ -117,13 +117,17 @@ func NewImportURLCommand(globalClientOpts *connectors.ClientOptions) *cobra.Comm } } - // Try downloading the artifcat + // Try downloading the artifact msg, err := mc.DownloadArtifact(f, mainArtifact, secret) if err != nil { fmt.Printf("Got error when invoking Microcks client importing Artifact: %s", err) os.Exit(1) } - fmt.Printf("Microcks has discovered '%s'\n", msg) + action := "discovered" + if !mainArtifact { + action = "completed" + } + fmt.Printf("Microcks has %s '%s'\n", action, msg) } }, }