Merge pull request #245 from konstruktoid/version

auto update due to new versioning
This commit is contained in:
Thomas Sjögren 2017-05-08 15:22:11 +02:00 committed by GitHub
commit d2936821b2

View file

@ -20,8 +20,8 @@ note "$check_1_2"
check_1_3="1.3 - Keep Docker up to date"
docker_version=$(docker version | grep -i -A1 '^server' | grep -i 'version:' \
| awk '{print $NF; exit}' | tr -d '[:alpha:]-,')
docker_current_version="17.03.0"
docker_current_date="2017-03-01"
docker_current_version="$(date +%y.%m.0)"
docker_current_date="$(date +%Y-%m-01)"
do_version_check "$docker_current_version" "$docker_version"
if [ $? -eq 11 ]; then
info "$check_1_3"