Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

Commit

Permalink
Merge pull request #687 from glours/add_message_pulling_from_registry
Browse files Browse the repository at this point in the history
add a message in install cmd when trying to pull from registry
  • Loading branch information
silvin-lubecki committed Oct 14, 2019
2 parents 8fa4476 + f4dfec5 commit 35fdf49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions e2e/pushpull_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ Unable to find application "unknown": failed to resolve bundle manifest "docker.
icmd.RunCmd(cmd).Assert(t, icmd.Expected{
ExitCode: 1,
Err: expected,
Out: "Pulling from registry...",
})
})
}
Expand Down
1 change: 1 addition & 0 deletions internal/commands/cnab.go
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ func getBundle(dockerCli command.Cli, bundleStore appstore.BundleStore, name str
if err != nil {
fmt.Fprintf(dockerCli.Err(), "Unable to find application image %q locally\n", reference.FamiliarString(ref))

fmt.Fprintf(dockerCli.Out(), "Pulling from registry...\n")
if named, ok := ref.(reference.Named); ok {
bndl, err = pullBundle(dockerCli, bundleStore, named)
if err != nil {
Expand Down

0 comments on commit 35fdf49

Please sign in to comment.