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
8 changes: 6 additions & 2 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)
os.Exit(1)
Comment on lines 123 to 124
}
fmt.Printf("Microcks has discovered '%s'\n", msg)
action := "discovered"
if !mainArtifact {
action = "completed"
}
fmt.Printf("Microcks has %s '%s'\n", action, msg)
Comment on lines +126 to +130
}
},
}
Expand Down
Loading