Skip to content

Commit

Permalink
Write warning in missing version v to stderr
Browse files Browse the repository at this point in the history
Writing it to stdout can cause structured results, such as when using
`--format json` to become invalid.
  • Loading branch information
lbergnehr committed Nov 27, 2024
1 parent 45c17c1 commit d64be55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/porter/lifecycle.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ func (p *Porter) resolveBundleReference(ctx context.Context, opts *BundleReferen
pullOpts := *opts // make a copy just to do the pull
pullOpts.Reference = ref.String()

err := ensureVPrefix(&pullOpts, p.Out)
err := ensureVPrefix(&pullOpts, p.Err)
if err != nil {
return err
}
Expand Down

0 comments on commit d64be55

Please sign in to comment.