diff options
author | maopeng zhang <zhang.maopeng1@zte.com.cn> | 2018-11-12 08:04:09 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-11-12 08:04:09 +0000 |
commit | c8af0aa8900c46f52fd56170532b53b45b97b2fa (patch) | |
tree | 6c6412da028b5084d49750218c56f10522b1c8ee | |
parent | d160ee00ae58bb98f5fc49e7d6782ff6d5afa7b2 (diff) | |
parent | da0475d37a7fc6310b3a5f0ac407be408bb06caf (diff) |
Merge "Fix vnf grant logic"
-rw-r--r-- | lcm/pub/msapi/resmgr.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lcm/pub/msapi/resmgr.py b/lcm/pub/msapi/resmgr.py index 8b0d56fb..8483962f 100644 --- a/lcm/pub/msapi/resmgr.py +++ b/lcm/pub/msapi/resmgr.py @@ -60,6 +60,8 @@ def grant_vnf(req_param): if isinstance(vim, list): vim = vim[0] vim_id = vim["vimId"] + if "vimId" in vim: + vim_id = vim["vimId"] grant_rsp = { "vim": { "vimId": vim_id, |