mirror of
https://github.com/mag37/dockcheck.git
synced 2026-02-14 23:38:15 +01:00
fixed variable errors
This commit is contained in:
parent
b2d80d036a
commit
e4b93d113c
1 changed files with 2 additions and 2 deletions
|
|
@ -73,7 +73,7 @@ Stopped=${Stopped:=""}
|
|||
CollectorTextFileDirectory=${CollectorTextFileDirectory:-}
|
||||
Exclude=${Exclude:-}
|
||||
DaysOld=${DaysOld:-}
|
||||
OnlySpecific=false
|
||||
OnlySpecific=${OnlySpecific:=false}
|
||||
SpecificContainer=${SpecificContainer:=""}
|
||||
Excludes=()
|
||||
GotUpdates=()
|
||||
|
|
@ -546,7 +546,7 @@ if [[ -n "${GotUpdates:-}" ]]; then
|
|||
ContRestartStack=$($jqbin -r '."mag37.dockcheck.restart-stack"' <<< "$ContLabels")
|
||||
[[ "$ContRestartStack" == "null" ]] && ContRestartStack=""
|
||||
ContOnlySpecific=$($jqbin -r '."mag37.dockcheck.only-specific-container"' <<< "$ContLabels")
|
||||
[[ "$ContRestartStack" == "null" ]] && ContRestartStack=""
|
||||
[[ "$ContOnlySpecific" == "null" ]] && ContRestartStack=""
|
||||
|
||||
# Checking if compose-values are empty - hence started with docker run
|
||||
[[ -z "$ContPath" ]] && continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue