From bc8a903f95a2e7e03ab290187a53c69c0e0a5ca6 Mon Sep 17 00:00:00 2001 From: David Garcia Date: Thu, 7 May 2020 12:28:05 +0200 Subject: [PATCH] Fix credential_name Change-Id: I7eeed36b2f4d4cc47e8b2de56abcecaee24706f3 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 0e10337..71ff06a 100644 --- a/n2vc/n2vc_juju_conn.py +++ b/n2vc/n2vc_juju_conn.py @@ -1348,7 +1348,7 @@ class N2VCJujuConnector(N2VCConnector): model_name=model_name, config=config_dict, cloud_name=self.cloud, - credential_name="admin", + credential_name=self.cloud, ) self.log.info("New model created, name={}".format(model_name)) else: -- 2.25.1