Fix parameter order in get model method. 35/13135/2
authorPatricia Reinoso <patricia.reinoso@canonical.com>
Mon, 3 Apr 2023 16:04:26 +0000 (16:04 +0000)
committerPatricia Reinoso <patricia.reinoso@canonical.com>
Mon, 3 Apr 2023 16:05:56 +0000 (16:05 +0000)
Change-Id: Ia853579f192fca3b4438f418c50a340129489be7
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
n2vc/temporal_libjuju.py

index a4b7752..c13d244 100644 (file)
@@ -111,7 +111,7 @@ class Libjuju:
             if need_to_disconnect:
                 await self.disconnect_controller(controller)
 
-    async def get_model(self, model_name: str, controller: Controller) -> Model:
+    async def get_model(self, controller: Controller, model_name: str) -> Model:
         return await controller.get_model(model_name)
 
     async def list_models(self) -> List[str]: