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