Passwords mismatches when using custom plan env

Passwords are differed when using custom plan environment with
-p or --plan-environment-file option during plan update.
Passwords are loaded from environment file when updating plan
with custom plan environment file.
Need to update the logic to invoke load passwords when using
custom plan environment file also.

Change-Id: Ic206351ced77088f70e9e1fc25270b2c097b349b
Closes-Bug: #1790580
(cherry picked from commit 764a5a65b0)
This commit is contained in:
Jaganathan Palanisamy 2018-09-04 02:27:41 -04:00 committed by Michele Baldessari
parent b10c7446eb
commit 5b00837494
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ def update_plan_from_templates(clients, name, tht_root, roles_file=None,
_list_user_files(swift_client, name))))
keep_file_contents = _load_content_or_file(
swift_client, name, keep_map)
elif not plan_env_file:
else:
passwords = _load_passwords(swift_client, name)
# TODO(dmatthews): Removing the existing plan files should probably be