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
Updated base image plus Python to 3.11
[pti/o2.git]
/
o2ims
/
service
/
watcher
/
ocloud_watcher.py
diff --git
a/o2ims/service/watcher/ocloud_watcher.py
b/o2ims/service/watcher/ocloud_watcher.py
index
194a10b
..
f66a18f
100644
(file)
--- a/
o2ims/service/watcher/ocloud_watcher.py
+++ b/
o2ims/service/watcher/ocloud_watcher.py
@@
-32,7
+32,7
@@
class OcloudWatcher(BaseWatcher):
def _targetname(self):
return "ocloud"
def _targetname(self):
return "ocloud"
- def _probe(self, parent: object = None):
+ def _probe(self, parent: object = None
, tags: object = None
):
newmodel = self._client.get(None)
if newmodel:
logger.debug("found ocloud: " + newmodel.name)
newmodel = self._client.get(None)
if newmodel:
logger.debug("found ocloud: " + newmodel.name)
@@
-73,7
+73,7
@@
class DmsWatcher(BaseWatcher):
def _targetname(self):
return "dms"
def _targetname(self):
return "dms"
- def _probe(self, parent: StxGenericModel):
+ def _probe(self, parent: StxGenericModel
, tags: object = None
):
ocloudid = parent.id
newmodels = self._client.list(ocloudid=ocloudid)
# for newmodel in newmodels:
ocloudid = parent.id
newmodels = self._client.list(ocloudid=ocloudid)
# for newmodel in newmodels: