From 026d5296f8d954cba5a2cfa289416257280a3780 Mon Sep 17 00:00:00 2001 From: mag37 Date: Wed, 1 Mar 2023 19:52:30 +0100 Subject: [PATCH] urgent fix Screwed up the array with compose-files! It just continued filling up on each loop, should be reset at each loop reset. Will add info to readme. --- dockcheck.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dockcheck.sh b/dockcheck.sh index 894531b..c32a761 100755 --- a/dockcheck.sh +++ b/dockcheck.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -VERSION="v0.2.1" +VERSION="v0.2.2-URGENT" Github="https://github.com/mag37/dockcheck" ### Check if there's a new release of the script: @@ -157,6 +157,7 @@ if [ -n "$GotUpdates" ] ; then fi if [ "$UpdYes" == "${UpdYes#[Nn]}" ] ; then for i in "${SelectedUpdates[@]}" + unset CompleteConfs do ContPath=$(docker inspect "$i" --format '{{ index .Config.Labels "com.docker.compose.project.working_dir" }}') ContConfigFile=$(docker inspect "$i" --format '{{ index .Config.Labels "com.docker.compose.project.config_files" }}')