mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-19 00:32:34 +01:00
Merge pull request #451 from konstruktoid/imgname
print img if empty RepoTags, and fix tabbing
This commit is contained in:
commit
6ad1a1ef77
1 changed files with 7 additions and 4 deletions
|
@ -139,6 +139,9 @@ check_4_6() {
|
||||||
if ! [ "$imgName" = '[]' ]; then
|
if ! [ "$imgName" = '[]' ]; then
|
||||||
warn " * No Healthcheck found: $imgName"
|
warn " * No Healthcheck found: $imgName"
|
||||||
no_health_images="$no_health_images $imgName"
|
no_health_images="$no_health_images $imgName"
|
||||||
|
else
|
||||||
|
warn " * No Healthcheck found: $img"
|
||||||
|
no_health_images="$no_health_images $img"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue