mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-24 00:21:46 +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 {
|
if !diffArtifactArgs.brief {
|
||||||
fmt.Print(diff)
|
cmd.Print(diff)
|
||||||
}
|
}
|
||||||
|
|
||||||
return fmt.Errorf("%q and %q: %w", ociURL, diffArtifactArgs.path, ErrDiffArtifactChanged)
|
return fmt.Errorf("%q and %q: %w", ociURL, diffArtifactArgs.path, ErrDiffArtifactChanged)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue