fix sprintf formatter

This commit is contained in:
Xander Flood 2019-11-17 10:50:50 -05:00
parent 15c89f00a2
commit 836e3e490a

View file

@ -30,7 +30,7 @@ func validateIntegerGeqThan(threshold int) schema.SchemaValidateFunc {
value := v.(int)
if value < threshold {
errors = append(errors, fmt.Errorf(
"%q cannot be lower than %q", k, threshold))
"%q cannot be lower than %d", k, threshold))
}
return
}