Skip to content

Commit

Permalink
fix: Added default value for max_retries
Browse files Browse the repository at this point in the history
Signed-off-by: Saptarshi Sarkar <[email protected]>
  • Loading branch information
SaptarshiSarkar12 committed Dec 7, 2024
1 parent 1e86df6 commit bc40426
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ inputs:
max_retries:
description: "Max retries on timeout error"
required: false
default: 3
default: 0
outputs:
patched-image:
description: 'Image reference of patched image'
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ timeout=$4
connection_format=$5
format=$6
output_file=$7
max_retries=$8
max_retries=${8:-0}

# parse image into image name
image_no_tag=$(echo "$image" | cut -d':' -f1)
Expand Down

0 comments on commit bc40426

Please sign in to comment.