Fix a bug in deployment 72/4472/1
authorecaiyanlinux <martin.c.yan@est.tech>
Wed, 29 Jul 2020 08:43:53 +0000 (10:43 +0200)
committerecaiyanlinux <martin.c.yan@est.tech>
Wed, 29 Jul 2020 08:43:53 +0000 (10:43 +0200)
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

index 9d5acd8..3fe7d4b 100755 (executable)
@@ -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