mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-16 04:02:52 -06:00
Fixes #15111: Correct typo in error message
This commit is contained in:
parent
ae7d6ffd92
commit
c7ae2db8e3
@ -875,7 +875,7 @@ class Device(
|
|||||||
if self.position and self.device_type.u_height == 0:
|
if self.position and self.device_type.u_height == 0:
|
||||||
raise ValidationError({
|
raise ValidationError({
|
||||||
'position': _(
|
'position': _(
|
||||||
"A U0 device type ({device_type}) cannot be assigned to a rack position."
|
"A 0U device type ({device_type}) cannot be assigned to a rack position."
|
||||||
).format(device_type=self.device_type)
|
).format(device_type=self.device_type)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user