mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Rename CablePath.is_connected to is_active
This commit is contained in:
@@ -52,7 +52,7 @@ class ConnectedEndpointSerializer(ValidatedModelSerializer):
|
||||
@swagger_serializer_method(serializer_or_field=serializers.BooleanField)
|
||||
def get_connection_status(self, obj):
|
||||
if obj._path is not None:
|
||||
return obj._path.is_connected
|
||||
return obj._path.is_active
|
||||
return None
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user