One namespace leftover fixes
[oom.git] / kubernetes / config / docker / init / src / config / consul / consul-agent-config / scripts / sparky-be-script.sh
index d7def2d..0791c58 100755 (executable)
@@ -1,5 +1,5 @@
 
-NAME=$(/consul/config/bin/kubectl -n namespace-placeholder get pod | grep -o "sparky-be[^[:space:]]*")
+NAME=$(/consul/config/bin/kubectl -n namespace-placeholder get pod | grep -o "aai-sparky-be[^[:space:]]*")
 
 if [ -n "$NAME" ]; then
    if /consul/config/bin/kubectl -n namespace-placeholder exec -it $NAME -- ps -efww | grep 'java' | grep 'sparky' > /dev/null; then