From a9b5f161a58fc97d5690c647ce808ba53e0e86f4 Mon Sep 17 00:00:00 2001 From: Philip Joseph Date: Mon, 12 Sep 2016 18:43:08 +0000 Subject: [PATCH] Bug 34 : Fix juju 2.x login from SO Signed-off-by: Philip Joseph --- common/python/rift/mano/utils/juju_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/python/rift/mano/utils/juju_api.py b/common/python/rift/mano/utils/juju_api.py index 6eb3568b..3d7b369f 100644 --- a/common/python/rift/mano/utils/juju_api.py +++ b/common/python/rift/mano/utils/juju_api.py @@ -259,7 +259,7 @@ class JujuApi(object): mep = '{}/model/{}/api'.format(self.endpoint, m['model']['uuid']) model = Env2(mep, env_uuid=m['model']['uuid']) - l = model.login(self.password, user=self.user) + l = model.login(self.secret, user=self.user) break if model is None: -- 2.25.1