summaryrefslogtreecommitdiffstats
path: root/mgr
diff options
context:
space:
mode:
authordengyh <dengyuanhong@chinamobile.com>2020-09-25 16:48:53 +0800
committerdengyh <dengyuanhong@chinamobile.com>2020-09-25 16:48:57 +0800
commit0609943ff3e602ffc30e2b3106204b5f7591d5f7 (patch)
tree175523b90df715d62b4f03e651814e01437af053 /mgr
parentdaa9a6b770de681eff2d4b926e79a1e0c058dc83 (diff)
Fixed duplicate oom registration for local programs
Issue-ID: VFC-1752 Change-Id: I82968025e8b4a72a029d66c4d630fab5cec1336c Signed-off-by: dengyh <dengyuanhong@chinamobile.com>
Diffstat (limited to 'mgr')
-rw-r--r--mgr/mgr/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mgr/mgr/urls.py b/mgr/mgr/urls.py
index 976857a..e26bd32 100644
--- a/mgr/mgr/urls.py
+++ b/mgr/mgr/urls.py
@@ -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 mgr.pub.utils.restcall import req_by_msb
req_by_msb(MSB_SVC_URL, "DELETE")