Skip to content

Commit 1362ee1

Browse files
author
Sheyla Trudo
committed
fixup! Move to Resource Module
1 parent a27d928 commit 1362ee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pipelines/templates/artifact-storage.steps.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ steps:
258258
SA_RANDOM_SELECT=`tr -dc '1-9' < /dev/urandom | head -c${1:-7}`
259259
R_INDEX=$(( "$SA_RANDOM_SELECT" % "$SA_LIST_LENGTH" ))
260260
# Make a random selection from the pool
261-
SA_DATA=$(echo "$SA_LIST" | jq --argjson IDX "$SA_IDX" -rc '.[$IDX]')
261+
SA_DATA=$(echo "$SA_LIST" | jq --argjson IDX "$R_INDEX" -rc '.[$IDX]')
262262
echo "Delete me"
263263
echo "$SA_DATA"
264264
if (( "$SA_LIST_LENGTH" > 0 )); then

0 commit comments

Comments
 (0)