Revert "checking sdcore or free5gc directory exist in a image"
This reverts commit dd579db39550a0d01e5e69429bbe8dc5235ad25e.
Reason for revert: <CI is not picking new helm charts so no use of doing this helm chart change>
Change-Id: Ie5572cc2231795ad1b2f576d699a573b74e012a4
diff --git a/5g-control-plane/templates/bin/_nssf-run.sh.tpl b/5g-control-plane/templates/bin/_nssf-run.sh.tpl
index a903d75..2aae4a0 100644
--- a/5g-control-plane/templates/bin/_nssf-run.sh.tpl
+++ b/5g-control-plane/templates/bin/_nssf-run.sh.tpl
@@ -6,21 +6,11 @@
set -xe
-DIR=""
-if [ -d "/free5gc/nssf" ]; then
- DIR="/free5gc"
- echo "free5gc directory exist"
-fi
-if [ -d "/sdcore/nssf" ]; then
- DIR="/sdcore"
- echo "sdcore directory exist"
-fi
-
{{- if .Values.config.coreDump.enabled }}
-cp $DIR/nssf/nssf /tmp/coredump/
+cp /free5gc/nssf/nssf /tmp/coredump/
{{- end }}
-cd $DIR
+cd /free5gc
cat config/nssfcfg.conf