Skip to content

Commit

Permalink
Fixed typo (of -> or) in error message as requested by @mkeeler
Browse files Browse the repository at this point in the history
  • Loading branch information
pierresouchay committed Aug 26, 2018
1 parent 99e6b19 commit 25eae9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/structs/structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ func ValidateWeights(weights *Weights) error {
return fmt.Errorf("Passing must be greater than 0")
}
if weights.Warning < 0 {
return fmt.Errorf("Warning must be greater of equal to 0")
return fmt.Errorf("Warning must be greater or equal than 0")
}
if weights.Passing > 65535 || weights.Warning > 65535 {
return fmt.Errorf("DNS Weight must be between 0 and 65535")
Expand Down

0 comments on commit 25eae9f

Please sign in to comment.