fix: correct issues in upgrade and fix tests

This commit is contained in:
Jose Diaz-Gonzalez
2018-10-11 14:16:47 -04:00
parent 5e3aa18765
commit 3fc6322b02
4 changed files with 4 additions and 4 deletions

View File

@@ -283,6 +283,7 @@ service_container_rm() {
[[ -z "$ID" ]] && return 0
dokku_log_verbose_quiet "Removing container"
docker update --restart=no "$SERVICE_NAME" > /dev/null 2>&1
if ! docker rm "$SERVICE_NAME" > /dev/null 2>&1; then
dokku_log_fail "Unable to remove container for service $SERVICE"
fi