mirror of
https://github.com/fluxcd/flux2.git
synced 2026-05-05 01:28:52 +00:00
Use stdout when exporting objects
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
46aa068fda
commit
f719d2bf76
7 changed files with 19 additions and 32 deletions
|
|
@ -246,7 +246,7 @@ func installCmdRun(cmd *cobra.Command, args []string) error {
|
|||
return fmt.Errorf("install failed: %w", err)
|
||||
}
|
||||
|
||||
fmt.Fprintln(os.Stderr, applyOutput)
|
||||
rootCmd.Println(applyOutput)
|
||||
|
||||
if opts.ImagePullSecret != "" && opts.RegistryCredential != "" {
|
||||
logger.Actionf("generating image pull secret %s", opts.ImagePullSecret)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue