mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 20:12:00 -06:00
Fixes interface logging error
This commit is contained in:
parent
0af36eb99b
commit
06143b6c70
@ -1937,7 +1937,7 @@ class Interface(ComponentModel):
|
||||
related_object=self.get_component_parent(),
|
||||
action=action,
|
||||
object_data=serialize_object(self, extra={
|
||||
'connected_interface': self.connected_interface.pk,
|
||||
'connected_interface': self.connected_interface.pk if self.connection else None,
|
||||
'connection_status': self.connection.connection_status if self.connection else None,
|
||||
})
|
||||
).save()
|
||||
|
Loading…
Reference in New Issue
Block a user