Skip to content

Commit ca7cf54

Browse files
jkobyalishamayor
andauthored
expand curl flags to longer versions (#487)
Co-authored-by: Alisha Mayor <amayor@splunk.com>
1 parent d295a26 commit ca7cf54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

splunk/common-files/checkstate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if [[ "" == "$NO_HEALTHCHECK" ]]; then
3333

3434
case "$state" in
3535
running|started)
36-
curl -m 30 -f -k $SCHEME://localhost:8089/
36+
curl --max-time 30 --fail --insecure $SCHEME://localhost:8089/
3737
exit $?
3838
;;
3939
*)

0 commit comments

Comments
 (0)