Fix grammer error

This commit is contained in:
shidenggui
2018-06-15 16:38:12 +08:00
committed by GitHub
parent 5d80dcb643
commit caf3817b30
+1 -1
View File
@@ -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})"