mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-17 04:32:51 -06:00
Fix typo in validation error message
This commit is contained in:
parent
92343469e7
commit
e5e5725a24
@ -1529,7 +1529,7 @@ class Device(ChangeLoggedModel, ConfigContextModel, CustomFieldModel):
|
|||||||
if self.primary_ip6:
|
if self.primary_ip6:
|
||||||
if self.primary_ip6.family != 6:
|
if self.primary_ip6.family != 6:
|
||||||
raise ValidationError({
|
raise ValidationError({
|
||||||
'primary_ip6': f"{self.primary_ip4} is not an IPv6 address."
|
'primary_ip6': f"{self.primary_ip6} is not an IPv6 address."
|
||||||
})
|
})
|
||||||
if self.primary_ip6.interface in vc_interfaces:
|
if self.primary_ip6.interface in vc_interfaces:
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user