Add power supply support (#56)

This commit is contained in:
Solvik 2019-09-05 13:47:10 +02:00 committed by GitHub
parent 1c44ab36fb
commit 8d0168acb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 160 additions and 2 deletions

View file

@ -24,7 +24,7 @@ def run(config):
if config.register:
server.netbox_create(config)
if config.update_all or config.update_network or config.update_location or \
config.update_inventory:
config.update_inventory or config.update_psu:
server.netbox_update(config)
return True