Fix error at vim-update with config 90/8790/1
authortierno <alfonso.tiernosepulveda@telefonica.com>
Thu, 16 Apr 2020 11:22:24 +0000 (11:22 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Thu, 16 Apr 2020 11:22:24 +0000 (11:22 +0000)
Change-Id: I3083d88ae5999a53362933eae20c680b932aa218
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
RO/osm_ro/nfvo.py

index 9e48c4a..100c6ae 100644 (file)
@@ -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: