Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 1ca59e9

Browse files
author
Ian Campbell
committed
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. Signed-off-by: Ian Campbell <[email protected]>
1 parent e2d41c9 commit 1ca59e9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

internal/commands/status.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ func runStatus(dockerCli command.Cli, claimName string, opts credentialOptions)
4747
if err != nil {
4848
return err
4949
}
50+
if err := mergeBundleParameters(&c,
51+
withSendRegistryAuth(opts.sendRegistryAuth),
52+
); err != nil {
53+
return err
54+
}
5055
creds, err := prepareCredentialSet(c.Bundle,
5156
addNamedCredentialSets(opts.credentialsets),
5257
addDockerCredentials(targetContext, dockerCli.ContextStore()),

0 commit comments

Comments
 (0)