From d745e229c23053e565c89231c4e239186ba3e332 Mon Sep 17 00:00:00 2001 From: David Garcia Date: Tue, 30 Jun 2020 08:39:26 +0200 Subject: [PATCH] Fix missing await Change-Id: I64babbb51193d47122e34498f11b6d380b44a174 Signed-off-by: David Garcia --- n2vc/n2vc_juju_conn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/n2vc/n2vc_juju_conn.py b/n2vc/n2vc_juju_conn.py index 07c3903..ab8c6e8 100644 --- a/n2vc/n2vc_juju_conn.py +++ b/n2vc/n2vc_juju_conn.py @@ -241,7 +241,7 @@ class N2VCJujuConnector(N2VCConnector): models = await self.libjuju.list_models(contains=ns_id) for m in models: - status[m] = self.libjuju.get_model_status(m) + status[m] = await self.libjuju.get_model_status(m) if yaml_format: return obj_to_yaml(status) -- 2.25.1