Skip to content

Commit

Permalink
Merge pull request #125 from infrawatch/rm_-f_containers
Browse files Browse the repository at this point in the history
Remove sg-core & prometheus containers with force
  • Loading branch information
leifmadsen authored Dec 5, 2023
2 parents 4d514d5 + f7de929 commit 4732849
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions devstack/plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ if is_service_enabled sg-core; then

if [[ "$1" == "unstack" ]]; then
$SG_CORE_CONTAINER_EXECUTABLE stop sg-core
$SG_CORE_CONTAINER_EXECUTABLE rm sg-core
$SG_CORE_CONTAINER_EXECUTABLE rm -f sg-core
fi

if [[ "$1" == "clean" ]]; then
Expand Down Expand Up @@ -121,7 +121,7 @@ if is_service_enabled sg-core; then

if [[ "$1" == "unstack" ]]; then
$PROMETHEUS_CONTAINER_EXECUTABLE stop prometheus
$PROMETHEUS_CONTAINER_EXECUTABLE rm prometheus
$PROMETHEUS_CONTAINER_EXECUTABLE rm -f prometheus
fi

if [[ "$1" == "clean" ]]; then
Expand Down

0 comments on commit 4732849

Please sign in to comment.