Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 35fdf49

Browse files
Merge pull request #687 from glours/add_message_pulling_from_registry
add a message in install cmd when trying to pull from registry
2 parents 8fa4476 + f4dfec5 commit 35fdf49

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

e2e/pushpull_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ Unable to find application "unknown": failed to resolve bundle manifest "docker.
185185
icmd.RunCmd(cmd).Assert(t, icmd.Expected{
186186
ExitCode: 1,
187187
Err: expected,
188+
Out: "Pulling from registry...",
188189
})
189190
})
190191
}

internal/commands/cnab.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ func getBundle(dockerCli command.Cli, bundleStore appstore.BundleStore, name str
293293
if err != nil {
294294
fmt.Fprintf(dockerCli.Err(), "Unable to find application image %q locally\n", reference.FamiliarString(ref))
295295

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

0 commit comments

Comments
 (0)