Change-Id: Ic6645457f2e4dcd49524aedf0c69787c540301ba
Issue-ID: VFC-1595
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
param["nicArray"].append({
"portId": get_res_id(res_cache, RES_PORT, cp_id)
})
- param["contextArray"] = ignore_case_get(vm["properties"], "inject_files")
+ param["contextArray"] = ignore_case_get(vm["properties"], "inject_files", [])
logger.debug("contextArray:%s", param["contextArray"])
for vol_data in ignore_case_get(vm, "volume_storages"):
vol_id = vol_data["volume_storage_id"]