Skip to content

Commit

Permalink
Update check-shell - fix another typo
Browse files Browse the repository at this point in the history
```  
let "reasult = result + 1"
```

assuming this should be `result =` from context
  • Loading branch information
adamancini authored and crdant committed Jul 20, 2023
1 parent b32806b commit 2a7dd8b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ result=0
# look for the preflight template file
if [[ ! -f /home/replicant/harbor/templates/troubleshoot/support-bundle.yaml ]] ; then
fail-message 'Please create the support bundle spec template file in the Harbor Helm chart template directory'
let "reasult = result + 1"
let "result = result + 1"
fi

if [[ "$(helm template /home/replicant/harbor | yq 'select( .kind == "Secret" ) | select( .metadata.labels."troubleshoot.sh/kind" == "support-bundle" ) | .stringData | has("support-bundle-spec")')" == "true" ]] ; then
Expand Down

0 comments on commit 2a7dd8b

Please sign in to comment.