mirror of
https://github.com/deviantony/docker-elk.git
synced 2026-01-02 19:18:05 +01:00
ci: Accept arbitrary curl arguments for polling
This commit is contained in:
2
.github/workflows/scripts/lib/testing.sh
vendored
2
.github/workflows/scripts/lib/testing.sh
vendored
@@ -83,7 +83,7 @@ function poll_ready {
|
||||
|
||||
local -a args=( '-s' '-D-' '-m3' '-w' '%{http_code}' "$url" )
|
||||
if [ "$#" -ge 3 ]; then
|
||||
args+=( '-u' "$3" )
|
||||
args+=( ${@:3} )
|
||||
fi
|
||||
|
||||
echo "curl arguments: ${args[*]}"
|
||||
|
||||
Reference in New Issue
Block a user