X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=juju%2Fclient%2Fwatcher.py;h=64099c8cd0c6c54dd2ba2cd567269a6e636b7962;hb=dcfcbc7b67df088f377c2a8c23dea32c20372aaf;hp=346627ca3001f511caddf4898e54865eb112c991;hpb=edf3beda420d3a2c66d6ef8fe9b5e45a76d052b9;p=osm%2FN2VC.git diff --git a/juju/client/watcher.py b/juju/client/watcher.py index 346627c..64099c8 100644 --- a/juju/client/watcher.py +++ b/juju/client/watcher.py @@ -1,15 +1,15 @@ -from .client import AllWatcher as BaseAllWatcher -from .client import Client +from .client import AllWatcherFacade as BaseAllWatcher +from .client import ClientFacade class AllWatcher(BaseAllWatcher): async def rpc(self, msg): if not hasattr(self, 'Id'): - client = Client() + client = ClientFacade() client.connect(self.connection) result = await client.WatchAll() - self.Id = result.allwatcherid + self.Id = result.watcher_id msg['Id'] = self.Id return await super(AllWatcher, self).rpc(msg)