fixing undefined variable error for performance charts
This commit is contained in:
parent
dfbd3e8d70
commit
195b285ff2
|
@ -453,10 +453,10 @@ class oxcSERVER(oxcSERVERvm,oxcSERVERhost,oxcSERVERproperties,oxcSERVERstorage,o
|
|||
desc = data_source['name_description']
|
||||
if not name[:3] in ds.keys():
|
||||
ds[name[:3]] = []
|
||||
if ds[name[:3]].count([name, desc]) == 0:
|
||||
if name not in ("memory_internal_free", "xapi_free_memory_kib", "xapi_memory_usage_kib", "xapi_live_memory_kib") \
|
||||
and name[:6] != "pif___":
|
||||
ds[name[:3]].append([name, desc])
|
||||
if ds[name[:3]].count([name, desc]) == 0:
|
||||
if name not in ("memory_internal_free", "xapi_free_memory_kib", "xapi_memory_usage_kib", "xapi_live_memory_kib") \
|
||||
and name[:6] != "pif___":
|
||||
ds[name[:3]].append([name, desc])
|
||||
if host:
|
||||
if os.path.exists(os.path.join(self.wine.pathconfig, "host_rrds.rrd")):
|
||||
os.unlink(os.path.join(self.wine.pathconfig, "host_rrds.rrd"))
|
||||
|
|
Loading…
Reference in New Issue