Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions cmd/importURL.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
fmt.Fprintf(os.Stderr, "Got error when invoking Microcks client importing Artifact: %s\n", err)
os.Exit(1)
}
fmt.Printf("Microcks has discovered '%s'\n", msg)
action := "discovered"
if !mainArtifact {
action = "imported"
}
fmt.Printf("Microcks has %s '%s'\n", action, msg)
Comment thread
Harsh4902 marked this conversation as resolved.
}
},
}
Expand Down