Skip to content

Commit

Permalink
Merge pull request #619 from TrekkieCoder/main
Browse files Browse the repository at this point in the history
chore: cicd common script updated
  • Loading branch information
UltraInstinct14 authored Apr 4, 2024
2 parents 9765c17 + 6deb021 commit 1896f7e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cicd/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,11 @@ get_llb_peerIP() {
## Deletes a docker host
## arg1 - hostname
delete_docker_host() {
if docker kill $1 2>&1 >> /dev/null
dcmd="kill"
if [[ $1 == "llb"* ]] || [[ $1 == "loxilb"* ]]; then
dcmd="stop"
fi
if docker $dcmd $1 2>&1 >> /dev/null
then
hd="true"
ka=`docker ps -f name=ka_$1| grep -w ka_$1 | cut -d " " -f 1 | grep -iv "CONTAINER"`
Expand Down

0 comments on commit 1896f7e

Please sign in to comment.