Skip to content

Commit

Permalink
fix: missing bracket in related images check
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Cole <[email protected]>
  • Loading branch information
14rcole committed Jul 2, 2024
1 parent 0d1223c commit 8501077
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
# however there is also posibility that catalog.yaml has yaml data in it
status=0
relImgs="$(jq -r '.relatedImages[]?.image' <<< ${catalog)" || status=$?
relImgs="$(jq -r '.relatedImages[]?.image' <<< ${catalog})" || status=$?
if [ $status -ne 0 ]; then
echo "Could not get related images. Make sure catalog.yaml exists in FBC fragment image and it is valid .yaml or .json format."
note="Task $(context.task.name) failed: Could not fetch related images. Make sure you have catalog.yaml or catalog.json formatted correctly in your file-based catalog (FBC) fragment image."
Expand Down

0 comments on commit 8501077

Please sign in to comment.