Skip to content

Commit

Permalink
Fix missing parens
Browse files Browse the repository at this point in the history
Signed-off-by: Kyle Squizzato <[email protected]>
  • Loading branch information
squizzi committed Nov 5, 2024
1 parent cdc71f1 commit e85fe81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/bundle-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,11 @@ do
fi

# Use 'helm template' to get the images used by the extension.
template_output=${HELM} template --repo ${url} --version ${version} ${name} --values ${name}-values.yaml
template_output=$(${HELM} template --repo ${url} --version ${version} ${name} --values ${name}-values.yaml)
if [[ $? -ne 0 ]]; then
echo "Error: Failed to get images from Helm template for ${name}, trying to output values with debug..."

template_output=${HELM} template --repo ${url} --version ${version} ${name} --values ${name}-values.yaml --debug
template_output=$(${HELM} template --repo ${url} --version ${version} ${name} --values ${name}-values.yaml --debug)
if [[ $? -ne 0 ]]; then
echo "Error: Failed to get images from Helm template for ${name} with debug output"
exit 1
Expand Down

0 comments on commit e85fe81

Please sign in to comment.