From: David Garcia Date: Tue, 30 Jun 2020 06:39:26 +0000 (+0200) Subject: Fix missing await X-Git-Tag: release-v9.0-start~43 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=d745e229c23053e565c89231c4e239186ba3e332;p=osm%2FN2VC.git Fix missing await Change-Id: I64babbb51193d47122e34498f11b6d380b44a174 Signed-off-by: David Garcia --- 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)