mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-21 23:21:48 +00:00
flux diff artifact: Use cmd.Print() instead of fmt.Print().
Signed-off-by: Florian Forster <fforster@gitlab.com>
This commit is contained in:
parent
0a56dabf2d
commit
506a44d740
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ func diffArtifactCmdRun(cmd *cobra.Command, args []string) error {
|
|||
}
|
||||
|
||||
if !diffArtifactArgs.brief {
|
||||
fmt.Print(diff)
|
||||
cmd.Print(diff)
|
||||
}
|
||||
|
||||
return fmt.Errorf("%q and %q: %w", ociURL, diffArtifactArgs.path, ErrDiffArtifactChanged)
|
||||
|
|
|
|||
Loading…
Reference in a new issue