From d78dd985df687b51221b36f5913adb82e1b490a1 Mon Sep 17 00:00:00 2001 From: Steven Hardy Date: Wed, 28 Aug 2013 11:09:15 +0100 Subject: [PATCH] Remove aws_creds from DB API aws_creds has been removed from the DB and the model, needs removing from the API too bug #1215850 Change-Id: I008acc13576c857d9e6238f186424e43dcdd7850 --- heat/db/sqlalchemy/api.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/heat/db/sqlalchemy/api.py b/heat/db/sqlalchemy/api.py index a3f61786..58b19995 100644 --- a/heat/db/sqlalchemy/api.py +++ b/heat/db/sqlalchemy/api.py @@ -261,7 +261,6 @@ def user_creds_create(context): user_creds_ref = models.UserCreds() user_creds_ref.update(values) user_creds_ref.password = crypt.encrypt(values['password']) - user_creds_ref.aws_creds = crypt.encrypt(values['aws_creds']) user_creds_ref.save(_session(context)) return user_creds_ref @@ -272,7 +271,6 @@ def user_creds_get(user_creds_id): # or it can be committed back to the DB in decrypted form result = dict(db_result) result['password'] = crypt.decrypt(result['password']) - result['aws_creds'] = crypt.decrypt(result['aws_creds']) return result -- 2.45.2