From: garciadeblas Date: Wed, 5 Dec 2018 09:59:40 +0000 (+0100) Subject: Fix bug related to scaling: renamed vim_actions to vim_wim_actions X-Git-Tag: v5.0.2~1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=72cd59f8280e652b35caa20f9fe60a68ef77689b;p=osm%2FRO.git Fix bug related to scaling: renamed vim_actions to vim_wim_actions Change-Id: I6d5644fcd25e72083fb1af2ea01091d963bc11fc Signed-off-by: garciadeblas --- diff --git a/osm_ro/nfvo.py b/osm_ro/nfvo.py index 7b8a820b..b0896ff9 100644 --- a/osm_ro/nfvo.py +++ b/osm_ro/nfvo.py @@ -4507,7 +4507,7 @@ def instance_action(mydb,nfvo_tenant,instance_id, action_dict): iface2iface = {} where = {"item": "instance_vms", "item_id": target_vm["uuid"], "action": "CREATE"} - vim_action_to_clone = mydb.get_rows(FROM="vim_actions", WHERE=where) + vim_action_to_clone = mydb.get_rows(FROM="vim_wim_actions", WHERE=where) if not vim_action_to_clone: raise NfvoException("Cannot find the vim_action at database with {}".format(where), httperrors.Internal_Server_Error) vim_action_to_clone = vim_action_to_clone[0]