From 31e121f56d87b6be951caa550b2884ed5908cd92 Mon Sep 17 00:00:00 2001 From: tierno Date: Mon, 3 Dec 2018 12:04:48 +0000 Subject: [PATCH] fixing vim_actions backward compatibility Change-Id: I7553920aa47baad8773cab27c84df8e60fff0e78 Signed-off-by: tierno --- osm_ro/nfvo.py | 2 ++ 1 file changed, 2 insertions(+) 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} -- 2.25.1