Fix healVNF problem in svnfm
[vfc/nfvo/driver/vnfm/svnfm.git] / huawei / vnfmadapter / VnfmadapterService / service / src / main / java / org / onap / vfc / nfvo / vnfm / svnfm / vnfmadapter / service / csm / vnf / VnfMgrVnfm.java
index 9fa4260..e22260f 100644 (file)
@@ -247,11 +247,11 @@ public class VnfMgrVnfm implements InterfaceVnfMgr {
 
         JSONObject subJsonObject = new JSONObject();
         subJsonObject.put("type", "hard");
-        subJsonObject.put("boot_mode", null);
+        subJsonObject.put("boot_mode", "");
         if("vmReset".equals(action)) {
             subJsonObject.put("action", "reset");
         }
-
+        LOG.info("healVnf subJsonObject :" + subJsonObject);
         JSONObject healResult = ResultRequestUtil.callSouth(vnfmObjcet, path, Constant.PUT, subJsonObject.toString(),
                 Constant.CERTIFICATE);