Skip to content

Commit

Permalink
Merge pull request #1989 from hunterkepley/ocm-6391-4
Browse files Browse the repository at this point in the history
OCM-6391 | fix: Add final disablement on final command in create cluster for region flag
  • Loading branch information
openshift-merge-bot[bot] committed May 2, 2024
2 parents 26bdf17 + ed112de commit 7cfde09
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/create/cluster/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -3272,7 +3272,11 @@ func run(cmd *cobra.Command, _ []string) {
}

if args.watch {
disableRegionDeprecation = true // Disable region deprecation
clusterdescribe.Cmd.LocalFlags().BoolVar(&disableRegionDeprecation, arguments.DisableRegionDeprecationFlagName,
true, disableUsage)
installLogs.Cmd.Run(installLogs.Cmd, []string{clusterName})
disableRegionDeprecation = false // No longer disable
} else if !output.HasFlag() || r.Reporter.IsTerminal() {
r.Reporter.Infof(
"To determine when your cluster is Ready, run 'rosa describe cluster -c %s'.",
Expand Down

0 comments on commit 7cfde09

Please sign in to comment.