Fixed duplicate oom registration for local programs
[vfc/gvnfm/vnfres.git] / res / res / urls.py
index dc43975..29e1126 100644 (file)
@@ -23,7 +23,7 @@ urlpatterns = [
 ]
 
 # regist to MSB when startup
-if REG_TO_MSB_WHEN_START:
+if REG_TO_MSB_WHEN_START == "true":
     import json
     from res.pub.utils.restcall import req_by_msb
     req_by_msb(MSB_SVC_URL, "DELETE")