From: tierno Date: Thu, 16 Apr 2020 11:22:24 +0000 (+0000) Subject: Fix error at vim-update with config X-Git-Tag: v7.1.0rc1~1^2~5 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F90%2F8790%2F1;p=osm%2FRO.git Fix error at vim-update with config Change-Id: I3083d88ae5999a53362933eae20c680b932aa218 Signed-off-by: tierno --- diff --git a/RO/osm_ro/nfvo.py b/RO/osm_ro/nfvo.py index 9e48c4ae..100c6aed 100644 --- a/RO/osm_ro/nfvo.py +++ b/RO/osm_ro/nfvo.py @@ -5325,7 +5325,7 @@ def edit_vim_account(mydb, nfvo_tenant, datacenter_tenant_id, datacenter_id=None if config: original_config_dict = yaml.load(original_config, Loader=yaml.Loader) original_config_dict.update(config) - update["config"] = yaml.safe_dump(original_config_dict, default_flow_style=True, width=256) + update_["config"] = yaml.safe_dump(original_config_dict, default_flow_style=True, width=256) if name: update_['name'] = name if vim_tenant: