fix: TypeError: Object of type Record is not JSON serializable; fix: disk is also virtual if product is None #246

Merged
ypid merged 5 commits from fix/various into master 2022-11-10 15:52:40 +01:00
Showing only changes of commit 5d0f0bf2fa - Show all commits

View file

@ -62,7 +62,7 @@ class ServerBase():
def get_netbox_datacenter(self):
dc = self.get_datacenter()
if dc is None:
logging.error("Specificing a datacenter (Site) is mandatory in Netbox")
logging.error("Specifying a datacenter (Site) is mandatory in Netbox")
sys.exit(1)
nb_dc = nb.dcim.sites.get(