Skip to content

Commit

Permalink
Fixes: netbox-community#17611: Fix a ValidationError message
Browse files Browse the repository at this point in the history
  • Loading branch information
costasd authored and jeremystretch committed Oct 11, 2024
1 parent ca1f756 commit b8462ee
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 b8462ee

Please sign in to comment.