From: David Garcia Date: Mon, 9 Dec 2019 17:50:03 +0000 (+0100) Subject: Fix bug 957: Return pubkey properly X-Git-Tag: v7.0.0rc1^0 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=9ae8fa51d23e2373a7e25187b16401341051575e;p=osm%2FN2VC.git Fix bug 957: Return pubkey properly Change-Id: I1265e972ee0a085733c5597dc2c793021713ee62 Signed-off-by: David Garcia --- diff --git a/n2vc/n2vc_juju_conn.py b/n2vc/n2vc_juju_conn.py index 65dac3e..7c55af7 100644 --- a/n2vc/n2vc_juju_conn.py +++ b/n2vc/n2vc_juju_conn.py @@ -439,7 +439,7 @@ class N2VCJujuConnector(N2VCConnector): raise e # return public key if exists - return output + return output["pubkey"] if "pubkey" in output else output async def add_relation( self,