mirror of
https://github.com/willfarrell/docker-autoheal.git
synced 2024-12-06 19:16:20 +01:00
Fix grammer error
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ if [ "$1" = 'autoheal' ] && [ -e ${DOCKER_SOCK} ]; then
|
||||
DATE=$(date +%d-%m-%Y" "%H:%M:%S)
|
||||
CONTAINER_NAME=$(docker_curl -XGET http://localhost/containers/${CONTAINER}/json | jq -r .Name)
|
||||
if [ "null" = "$CONTAINER_NAME" ]; then
|
||||
echo "$DATE Delete container ${CONTAINER_NAME} (${CONTAINER:0:12}) from restart list because container name null implies container is not exists"
|
||||
echo "$DATE Delete container ${CONTAINER_NAME} (${CONTAINER:0:12}) from restart list because container name null implies container does not exist"
|
||||
rm "$TMP_DIR/$CONTAINER"
|
||||
else
|
||||
echo "$DATE Restarting container ${CONTAINER_NAME} (${CONTAINER:0:12})"
|
||||
|
||||
Reference in New Issue
Block a user