Update bundle params in `status`
This ensures that the use (or not) or `--with-registry-auth` is reflected.
This updates the claim but currently does not save it back.
@@ -47,6 +47,11 @@ func runStatus(dockerCli command.Cli, claimName string, opts credentialOptions)
if err != nil {
return err
}
+ if err := mergeBundleParameters(&c,
+ withSendRegistryAuth(opts.sendRegistryAuth),
+ ); err != nil {
+ return err
+ }
creds, err := prepareCredentialSet(c.Bundle,
addNamedCredentialSets(opts.credentialsets),
addDockerCredentials(targetContext, dockerCli.ContextStore()),
