Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Commit 4cf493e

Browse files
authored
Update orchestrator-client to append headers_auth
Currently if `$headers_auth` is set, it will replace any previous settings in `$requires_auth`. This change updates the script to append `$headers_auth` to `$requires_auth` instead of replace.
1 parent dabfb16 commit 4cf493e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/bin/orchestrator-client

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ function get_curl_auth_params {
158158
fi
159159

160160
if [[ -n "${headers_auth}" ]]; then
161-
requires_auth="-H "${headers_auth}""
161+
requires_auth+=" -H "${headers_auth}""
162162
fi
163163

164164
# Test API access

0 commit comments

Comments
 (0)