Skip to content

Commit 238c56f

Browse files
priteauyoctozepto
authored andcommitted
Fix disabling of curlrc in healthcheck_curl
The -q (aka --disable) option only works if it is the first parameter on the command line. Change-Id: Ia9ab0bdc95e658c17e5be5abefcf96f1c05ee84f Closes-Bug: #1967272 (cherry picked from commit 196b742)
1 parent a7ff9f6 commit 238c56f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

docker/base/healthcheck_curl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
: ${HEALTHCHECK_CURL_OUTPUT:='/dev/null'}
66

77
export NSS_SDB_USE_CACHE=no
8-
curl -g -k -q -s -S --fail -o "${HEALTHCHECK_CURL_OUTPUT}" \
8+
curl -q -g -k -s -S --fail -o "${HEALTHCHECK_CURL_OUTPUT}" \
99
--max-time "${HEALTHCHECK_CURL_MAX_TIME}" \
1010
--user-agent "${HEALTHCHECK_CURL_USER_AGENT}" \
1111
--write-out "${HEALTHCHECK_CURL_WRITE_OUT}" \
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes disabling the use of the ``curlrc`` configuration file in
5+
``healthcheck_curl``. `LP#1967272 <https://launchpad.net/bugs/1967272>`__

0 commit comments

Comments
 (0)