mirror of
https://github.com/recklessop/Zerto_Exporter.git
synced 2026-10-04 06:10:11 -04:00
Update python-node-exporter.py
This commit is contained in:
1 parent
a265a84517
commit
65ab4d33d6
1 file changed
+2
-2
@@ -189,8 +189,8 @@ def GetStatsFunc():
|
||||
|
||||
oldvmdata = tempdb.search(dbvm.VmIdentifier == vm['VmIdentifier'])
|
||||
|
||||
log.info("Checking TempDB for VM " + vm['VmIdentifier'])
|
||||
if (oldvmdata):
|
||||
log.info("Checking TempDB for VM " + vm['VmIdentifier'] + " in VPG " + vm['VpgIdentifier'])
|
||||
if (oldvmdata and (oldvmdata[0]['VpgIdentifier'] != vm['VpgIdentifier'])):
|
||||
log.info(vm['VmIdentifier'] + " Record Found")
|
||||
log.debug(oldvmdata[0])
|
||||
log.debug(tempdb.update(vm, dbvm.VmIdentifier == vm['VmIdentifier']))
|
||||
|
||||
Reference in new issue
Block a user