Skip to content

Commit

Permalink
Fix typo in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksim Zhylinski authored Apr 19, 2019
1 parent 9ce0792 commit 2a42f11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/scale_in.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func (c *ScaleInCommand) Run(args []string) int {
config.Scale.JobID = args[0]

if config.Scale.Count == 0 && config.Scale.Percent == 0 || config.Scale.Count > 0 && config.Scale.Percent > 0 {
c.UI.Error("You must set either -count or -percent flag to scale-out")
c.UI.Error("You must set either -count or -percent flag to scale-in")
return 1
}

Expand Down

0 comments on commit 2a42f11

Please sign in to comment.