summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordengyh <dengyuanhong@chinamobile.com>2020-09-25 16:50:54 +0800
committerdengyh <dengyuanhong@chinamobile.com>2020-09-25 16:50:59 +0800
commitb4d1f2cf0546f467ad1c23db48ee644e74c5c7df (patch)
tree7c705fb726d03db2297fd48c3a1a20123fa8928c
parent8b9d557dd9ab600e02087d72b8d941c171eca9c1 (diff)
Fixed duplicate oom registration for local programs
Issue-ID: VFC-1752 Change-Id: I261fcafaed4954235cd72718aadb430b8ef7e901 Signed-off-by: dengyh <dengyuanhong@chinamobile.com>
-rw-r--r--gvnfmadapter/driver/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gvnfmadapter/driver/urls.py b/gvnfmadapter/driver/urls.py
index d90ca86..502a789 100644
--- a/gvnfmadapter/driver/urls.py
+++ b/gvnfmadapter/driver/urls.py
@@ -22,7 +22,7 @@ urlpatterns = [
]
# regist to MSB when startup
-if REG_TO_MSB_WHEN_START:
+if REG_TO_MSB_WHEN_START == "true":
import json
from driver.pub.utils.restcall import req_by_msb
req_by_msb(MSB_SVC_URL, "DELETE")