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.
This commit is contained in:
mag37 2023-03-01 19:52:30 +01:00 committed by GitHub
parent f6e2d50949
commit 026d5296f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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" }}')