From: tierno Date: Mon, 3 Dec 2018 12:04:48 +0000 (+0000) Subject: fixing vim_actions backward compatibility X-Git-Tag: v5.0.1~1^2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=31e121f56d87b6be951caa550b2884ed5908cd92;p=osm%2FRO.git fixing vim_actions backward compatibility Change-Id: I7553920aa47baad8773cab27c84df8e60fff0e78 Signed-off-by: tierno --- diff --git a/osm_ro/nfvo.py b/osm_ro/nfvo.py index f625b4f6..7b8a820b 100644 --- a/osm_ro/nfvo.py +++ b/osm_ro/nfvo.py @@ -4711,6 +4711,8 @@ def instance_action_get(mydb, nfvo_tenant, instance_id, action_id): raise NfvoException("Not found any action with this criteria", httperrors.Not_Found) vim_wim_actions = mydb.get_rows(FROM="vim_wim_actions", WHERE={"instance_action_id": action_id}) rows[0]["vim_wim_actions"] = vim_wim_actions + # for backward compatibility set vim_actions = vim_wim_actions + rows[0]["vim_actions"] = vim_wim_actions return {"actions": rows}