Skip to content

Commit

Permalink
Fixes: #17611: Fix a ValidationError message
Browse files Browse the repository at this point in the history
  • Loading branch information
costasd authored and bctiemann committed Oct 11, 2024
1 parent b100283 commit e401e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox/extras/models/customfields.py
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ def validate(self, value):
raise ValidationError(_("Value must be an integer."))
if self.validation_minimum is not None and value < self.validation_minimum:
raise ValidationError(
_("Value must be at least {minimum}").format(minimum=self.validation_maximum)
_("Value must be at least {minimum}").format(minimum=self.validation_minimum)
)
if self.validation_maximum is not None and value > self.validation_maximum:
raise ValidationError(
Expand Down

0 comments on commit e401e81

Please sign in to comment.