]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cli/wait: also support an unrecoverable failure status
authorWilly Tarreau <w@1wt.eu>
Fri, 9 Feb 2024 19:05:14 +0000 (20:05 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 9 Feb 2024 19:38:08 +0000 (20:38 +0100)
commit2673f8be82b7daa88b5420aa58fefd70e309e281
tree826f20f19b0d90e5180bbdaf649ac37d0978b595
parentd8731c6680c6c67bbf7725ccbe3f8737f3981fe0
MINOR: cli/wait: also support an unrecoverable failure status

Since we'll support waiting for an action to succeed or permanently
fail, we need the ability to return an unrecoverable failure. Let's
add CLI_WAIT_ERR_FAIL for this. A static error message may be placed
into ctx->msg to report to the user why the failure is unrecoverable.
include/haproxy/cli-t.h
src/cli.c