correct log level for get_power_consumption
This commit is contained in:
parent
d79c008a5d
commit
13e8712db7
1 changed files with 2 additions and 1 deletions
|
|
@ -97,7 +97,8 @@ class PowerSupply():
|
|||
try:
|
||||
psu_cons = self.server.get_power_consumption()
|
||||
except NotImplementedError:
|
||||
logging.error('Cannot report power consumption for this vendor')
|
||||
# currently the function `get_power_consumption` is support only with `dell` so it should be warning instead error
|
||||
logging.warning('Cannot report power consumption for this vendor')
|
||||
return False
|
||||
nb_psus = self.get_netbox_power_supply()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue