Skip to content

Commit

Permalink
OCM-10676 | fix: Remove manual cluster ID flag update for create/oidc…
Browse files Browse the repository at this point in the history
…provider
  • Loading branch information
hunterkepley committed Aug 27, 2024
1 parent ee6a0c0 commit f46c526
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/create/cluster/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -3263,8 +3263,6 @@ func run(cmd *cobra.Command, _ []string) {
}
if oidcConfig != nil {
oidcprovider.Cmd.Flags().Set(oidcprovider.OidcConfigIdFlag, oidcConfig.ID())
} else {
oidcprovider.Cmd.Flags().Set("cluster", clusterName)
}
oidcprovider.Cmd.Run(oidcprovider.Cmd, []string{clusterName, mode, ""})
} else {
Expand Down

0 comments on commit f46c526

Please sign in to comment.