From 2f9ccf9fe7be29b0be569642e25cb3f9200936cc Mon Sep 17 00:00:00 2001
From: ecaiyanlinux <martin.c.yan@est.tech>
Date: Wed, 29 Jul 2020 10:43:53 +0200
Subject: [PATCH] Fix a bug in deployment

callBack.py is only used in STD version a1-sim

Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech>
Issue-ID: NONRTRIC-265
Change-Id: I3f4ce5be536025f997d6a68f2a91b36efec90e72
---
 near-rt-ric-simulator/src/start.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/near-rt-ric-simulator/src/start.sh b/near-rt-ric-simulator/src/start.sh
index 9d5acd8..3fe7d4b 100755
--- a/near-rt-ric-simulator/src/start.sh
+++ b/near-rt-ric-simulator/src/start.sh
@@ -41,8 +41,10 @@ cd $1
 nginx -c /usr/src/app/nginx.conf
 
 #start callBack server
-echo "Path to callBack.py: "$PWD
-python -u callBack.py &
+if [ ${A1_VERSION} == "STD_1.1.3" ]; then
+    echo "Path to callBack.py: "$PWD
+    python -u callBack.py &
+fi
 
 #start near-rt-ric-simulator
 echo "Path to main.py: "$PWD
-- 
GitLab