redirect registry client output to stderr

Signed-off-by: Cyril Jouve <jv.cyril@gmail.com>
pull/11480/head
Cyril Jouve 2 years ago
parent 7ed9d16dc7
commit 1535ad5671
No known key found for this signature in database
GPG Key ID: 226875D8A3B15FA6

@ -155,7 +155,7 @@ func newRootCmd(actionConfig *action.Configuration, out io.Writer, args []string
registryClient, err := registry.NewClient( registryClient, err := registry.NewClient(
registry.ClientOptDebug(settings.Debug), registry.ClientOptDebug(settings.Debug),
registry.ClientOptEnableCache(true), registry.ClientOptEnableCache(true),
registry.ClientOptWriter(out), registry.ClientOptWriter(os.Stderr),
registry.ClientOptCredentialsFile(settings.RegistryConfig), registry.ClientOptCredentialsFile(settings.RegistryConfig),
) )
if err != nil { if err != nil {

Loading…
Cancel
Save