From: ecaiyanlinux Date: Wed, 29 Jul 2020 08:43:53 +0000 (+0200) Subject: Fix a bug in deployment X-Git-Tag: 2.1.0~8 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=sim%2Fa1-interface.git;a=commitdiff_plain;h=2f9ccf9fe7be29b0be569642e25cb3f9200936cc Fix a bug in deployment callBack.py is only used in STD version a1-sim Signed-off-by: ecaiyanlinux Issue-ID: NONRTRIC-265 Change-Id: I3f4ce5be536025f997d6a68f2a91b36efec90e72 --- 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