Hook up Unit.run() to api
[osm/N2VC.git] / juju / client / watcher.py
index 346627c..8d7e15c 100644 (file)
@@ -1,11 +1,11 @@
-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()