Skip to content

Commit df76ea3

Browse files
authored
CLOUDP-326228: adjust warnings to break line (#3991)
1 parent f1d7ab1 commit df76ea3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/cli/clusters/update.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func (opts *UpdateOpts) checkISSCluster() {
106106
// If the flag is set to cluster wide scaling, warn the user that they are using the wrong flag
107107
if isIndependentShardScaling(targetClusterAutoScalingConfig.GetAutoScalingMode()) {
108108
if isClusterWideScaling(opts.autoScalingMode) {
109-
fmt.Fprintf(os.Stderr, "'independentShardScaling' autoscaling cluster detected, updating it to clusterWideScaling is not possible, use --autoScalingMode 'independentShardScaling' instead")
109+
fmt.Fprintf(os.Stderr, "'independentShardScaling' autoscaling cluster detected, updating it to clusterWideScaling is not possible, use --autoScalingMode 'independentShardScaling' instead\n")
110110
}
111111
}
112112
}

internal/validate/validate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ func AutoScalingMode(autoScalingMode string) func() error {
141141
}
142142

143143
if strings.EqualFold(autoScalingMode, independentShardScaling) {
144-
fmt.Fprintf(os.Stderr, "'independentShardScaling' autoscaling cluster detected, use --autoScalingMode independentShardScaling for clusters-related commands when interacting with this cluster")
144+
fmt.Fprintf(os.Stderr, "'independentShardScaling' autoscaling cluster(s) detected, use --autoScalingMode independentShardScaling for clusters-related commands when interacting with this cluster\n")
145145
}
146146
return nil
147147
}

0 commit comments

Comments
 (0)