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

Commit d19aadb

Browse files
Merge pull request #591 from rumpl/bundle-output
Change bundle output
2 parents 49ae99f + 9d6a410 commit d19aadb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

internal/commands/bundle.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,11 @@ func runBundle(dockerCli command.Cli, appName string, opts bundleOptions) error
7171
_, err = dockerCli.Out().Write(bundleBytes)
7272
return err
7373
}
74-
return ioutil.WriteFile(opts.out, bundleBytes, 0644)
74+
if err := ioutil.WriteFile(opts.out, bundleBytes, 0644); err != nil {
75+
return err
76+
}
77+
fmt.Fprintf(os.Stdout, "Bundle saved in %s\n", opts.out)
78+
return nil
7579
}
7680

7781
func makeBundle(dockerCli command.Cli, appName string, refOverride reference.NamedTagged) (*bundle.Bundle, error) {

0 commit comments

Comments
 (0)