Skip to content

Commit

Permalink
Fix disabling of curlrc in healthcheck_curl
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
priteau committed Apr 1, 2022
1 parent 41b4380 commit f3a0666
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker/base/healthcheck_curl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
: ${HEALTHCHECK_CURL_OUTPUT:='/dev/null'}

export NSS_SDB_USE_CACHE=no
curl -g -k -q -s -S --fail -o "${HEALTHCHECK_CURL_OUTPUT}" \
curl -q -g -k -s -S --fail -o "${HEALTHCHECK_CURL_OUTPUT}" \
--max-time "${HEALTHCHECK_CURL_MAX_TIME}" \
--user-agent "${HEALTHCHECK_CURL_USER_AGENT}" \
--write-out "${HEALTHCHECK_CURL_WRITE_OUT}" \
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
fixes:
- |
Fixes disabling the use of the ``curlrc`` configuration file in
``healthcheck_curl``. `LP#1967272 <https://launchpad.net/bugs/1967272>`__

0 comments on commit f3a0666

Please sign in to comment.