Code Review
/
pti
/
o2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix nfdeployment handler issue
[pti/o2.git]
/
o2ims
/
service
/
watcher
/
pserver_cpu_watcher.py
diff --git
a/o2ims/service/watcher/pserver_cpu_watcher.py
b/o2ims/service/watcher/pserver_cpu_watcher.py
index
cf471a4
..
51a5a76
100644
(file)
--- a/
o2ims/service/watcher/pserver_cpu_watcher.py
+++ b/
o2ims/service/watcher/pserver_cpu_watcher.py
@@
-34,8
+34,5
@@
class PServerCpuWatcher(ResourceWatcher):
def _probe(self, parent: StxGenericModel):
\r
hostid = parent.id
\r
newmodels = self._client.list(hostid=hostid)
\r
def _probe(self, parent: StxGenericModel):
\r
hostid = parent.id
\r
newmodels = self._client.list(hostid=hostid)
\r
- # for newmodel in newmodels:
\r
- # super()._compare_and_update(newmodel)
\r
- # return newmodels
\r
return [commands.UpdatePserverCpu(data=m, parentid=hostid)
\r
for m in newmodels]
\r
return [commands.UpdatePserverCpu(data=m, parentid=hostid)
\r
for m in newmodels]
\r