From 807ba450d7cfedd14ab0a3c1ac92ffca958d0908 Mon Sep 17 00:00:00 2001 From: Arthur Date: Tue, 18 Mar 2025 08:46:29 -0700 Subject: [PATCH] 18417 fix validation message --- netbox/dcim/models/racks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/dcim/models/racks.py b/netbox/dcim/models/racks.py index 07e78861b..c6a55121e 100644 --- a/netbox/dcim/models/racks.py +++ b/netbox/dcim/models/racks.py @@ -376,7 +376,7 @@ class Rack(ContactsMixin, ImageAttachmentsMixin, RackBase): if ( self.outer_width is not None or self.outer_depth is not None or self.outer_height is not None ) and not self.outer_unit: - raise ValidationError(_("Must specify a unit when setting an outer width/depth")) + raise ValidationError(_("Must specify a unit when setting an outer width/depth/height")) # Validate max_weight and weight_unit if self.max_weight and not self.weight_unit: