Use NS uuid when creating a juju k8s model
[osm/N2VC.git] / n2vc / n2vc_juju_conn.py
index 65dac3e..7c55af7 100644 (file)
@@ -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,