1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #8655: Fix AttributeError when viewing cabled interfaces

This commit is contained in:
jeremystretch
2022-02-16 08:23:57 -05:00
parent 1aa295dc84
commit fdbdf26afc
2 changed files with 5 additions and 1 deletions

View File

@@ -144,6 +144,10 @@ Where it is desired to limit the range of available VLANs within a group, users
* [#8572](https://github.com/netbox-community/netbox/issues/8572) - Add a `pre_run()` method for reports
* [#8649](https://github.com/netbox-community/netbox/issues/8649) - Enable customization of configuration module using `NETBOX_CONFIGURATION` environment variable
### Bug Fixes (From Beta)
* [#8655](https://github.com/netbox-community/netbox/issues/8655) - Fix AttributeError when viewing cabled interfaces
### Other Changes
* [#7731](https://github.com/netbox-community/netbox/issues/7731) - Require Python 3.8 or later

View File

@@ -45,7 +45,7 @@ def get_cabletermination_row_class(record):
if record.mark_connected:
return 'success'
elif record.cable:
return record.cable.get_status_class()
return record.cable.get_status_color()
return ''