Skip to content

Commit

Permalink
Fix typo in error message (#1452)
Browse files Browse the repository at this point in the history
* Fix typo in error message

* remove prints
  • Loading branch information
kushalmalani committed Nov 17, 2023
1 parent adfbeee commit 8b07c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloud/deployment/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ func validateResources(schedulerAU, schedulerReplicas int, configOption astro.De
schedulerReplicasMin := configOption.Components.Scheduler.Replicas.Minimum
schedulerReplicasMax := configOption.Components.Scheduler.Replicas.Limit
if schedulerAU > schedulerAuMax || schedulerAU < schedulerAuMin {
fmt.Printf("\nScheduler AUs must be between a min of %d and a max of %d AUs", schedulerAuMax, schedulerAuMax)
fmt.Printf("\nScheduler AUs must be between a min of %d and a max of %d AUs", schedulerAuMin, schedulerAuMax)
return false
}
if schedulerReplicas > schedulerReplicasMax || schedulerReplicas < schedulerReplicasMin {
Expand Down

0 comments on commit 8b07c6b

Please sign in to comment.