#182 messages and syntax

Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
Thomas Sjögren 2017-01-23 12:40:32 +01:00
parent 200152dff1
commit 6a2176b34e
3 changed files with 10 additions and 10 deletions

View file

@ -59,7 +59,7 @@ for img in $images; do
warn "$check_4_6" warn "$check_4_6"
fi fi
imgName=`docker inspect --format='{{.RepoTags}}' $img 2>/dev/null` imgName=`docker inspect --format='{{.RepoTags}}' $img 2>/dev/null`
warn " No Healthcheck found : $imgName" warn " * No Healthcheck found : $imgName"
fi fi
done done
if [ $fail -eq 0 ]; then if [ $fail -eq 0 ]; then
@ -77,7 +77,7 @@ for img in $images; do
info "$check_4_7" info "$check_4_7"
fi fi
imgName=`docker inspect --format='{{.RepoTags}}' $img 2>/dev/null` imgName=`docker inspect --format='{{.RepoTags}}' $img 2>/dev/null`
info " update instruction found in history of $imgName" info " * Update instruction found in history of $imgName"
fi fi
done done
if [ $fail -eq 0 ]; then if [ $fail -eq 0 ]; then
@ -95,7 +95,7 @@ for img in $images; do
info "$check_4_9" info "$check_4_9"
fi fi
imgName=`docker inspect --format='{{.RepoTags}}' $img 2>/dev/null` imgName=`docker inspect --format='{{.RepoTags}}' $img 2>/dev/null`
info " found ADD in docker history of $imgName" info " * Found ADD in docker history of $imgName"
fi fi
done done
if [ $fail -eq 0 ]; then if [ $fail -eq 0 ]; then

View file

@ -625,7 +625,7 @@ else
fail=1 fail=1
fi fi
for c in $docker0Containers; do for c in $docker0Containers; do
warn " * container in docker0 network: $c" warn " * Container in docker0 network: $c"
done done
fi fi
fi fi
@ -669,10 +669,10 @@ else
# If it's the first container, fail the test # If it's the first container, fail the test
if [ $fail -eq 0 ]; then if [ $fail -eq 0 ]; then
warn "$check_5_31" warn "$check_5_31"
warn " * Docker sock shared: $c" warn " * Docker socket shared: $c"
fail=1 fail=1
else else
warn " * Docekr sock shared: $c" warn " * Docker socket shared: $c"
fi fi
fi fi
done done