Skip to content

Commit b3060de

Browse files
gabemonterorm3l
andauthored
fix: RHDHBUGS-2752: --extra-files flag for prepare-restricted-environment.sh broken (#2423)
* fix: RHDHBUGS-2752: --extra-files flag for prepare-restricted-environment.sh broken the indentation for the additionalImages stanza of the ImageSetConfiguration passed into oc-mirrors was incorrect, leading to oc-mirror erroring out * armel-1 --------- Co-authored-by: Armel Soro <asoro@redhat.com>
1 parent 1113201 commit b3060de

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.rhdh/scripts/prepare-restricted-environment.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -914,11 +914,11 @@ EOF
914914
nbExtraImgs=${#EXTRA_IMAGES[@]}
915915
if [ "$nbExtraImgs" -ge 1 ]; then
916916
cat <<EOF >>"${TMPDIR}/imageset-config.yaml"
917-
additionalImages:
917+
additionalImages:
918918
EOF
919919
for extraImg in "${EXTRA_IMAGES[@]}"; do
920920
cat <<EOF >>"${TMPDIR}/imageset-config.yaml"
921-
- name: "$extraImg"
921+
- name: "$extraImg"
922922
EOF
923923
done
924924
fi

0 commit comments

Comments
 (0)