Skip to content

Commit

Permalink
OCM-11484 | fix: Specifying --registry-config-allowed-registries-for-…
Browse files Browse the repository at this point in the history
…import when editing a cluster should not enable interactive mode.
  • Loading branch information
patrickjennings committed Oct 1, 2024
1 parent cd5b932 commit 854def7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/edit/cluster/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@ func run(cmd *cobra.Command, _ []string) {
"additional-trust-bundle-file", "additional-allowed-principals", "audit-log-arn",
"registry-config-allowed-registries", "registry-config-blocked-registries",
"registry-config-insecure-registries", "allowed-registries-for-import",
"registry-config-platform-allowlist", "registry-config-additional-trusted-ca", "billing-account"} {
"registry-config-platform-allowlist", "registry-config-additional-trusted-ca", "billing-account",
"registry-config-allowed-registries-for-import"} {
if cmd.Flags().Changed(flag) {
changedFlags = true
break
Expand Down

0 comments on commit 854def7

Please sign in to comment.