suricata acme_sync: improved http response code handling

main
Ricard Illa 2023-01-09 18:24:55 +01:00
parent adefdaf137
commit a665e2d13c
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ define k8s_api
--include \ --include \
--request $(1) \ --request $(1) \
--write-out "%{http_code}" \ --write-out "%{http_code}" \
--output /dev/stderr \ --output /dev/null \
--cacert "$(K8S_CA_FILE)" \ --cacert "$(K8S_CA_FILE)" \
--header "Authorization: Bearer $(K8S_TOKEN)" \ --header "Authorization: Bearer $(K8S_TOKEN)" \
--header 'Accept: application/json' \ --header 'Accept: application/json' \