add more compatibility, now to netbox 2.10
This commit is contained in:
parent
3639662961
commit
58c18fc2da
4 changed files with 28 additions and 18 deletions
|
@ -51,7 +51,7 @@ class PowerSupply():
|
|||
)
|
||||
|
||||
def create_or_update_power_supply(self):
|
||||
nb_psus = self.get_netbox_power_supply()
|
||||
nb_psus = list(self.get_netbox_power_supply())
|
||||
psus = self.get_power_supply()
|
||||
|
||||
# Delete unknown PSU
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue