Signed-off-by: EItanya <eitan.yarmush@solo.io>
pull/7356/head
EItanya 5 years ago
parent 17dc43f054
commit 2f534f9742

@ -416,7 +416,7 @@ func newRootCmd(actionConfig *action.Configuration, out io.Writer, args []string
registryClient, err := registry.NewClient(
registry.ClientOptDebug(settings.Debug),
registry.ClientOptWriter(out),
registry.ClientOptCredentialsFile(settings.RepositoryConfig),
registry.ClientOptCredentialsFile(settings.RegistryConfig),
)
if err != nil {
// TODO: don't panic here, refactor newRootCmd to return error

Loading…
Cancel
Save