Skip to content

Commit 0d057e2

Browse files
committed
BUG/MINOR: ignore empty runtime API commands
1 parent 7e5bab4 commit 0d057e2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

handlers/raw.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,9 @@ func executeRuntimeActions(actionsStr string, client client_native.HAProxyClient
222222
continue
223223
}
224224
action := params[0]
225+
if action == "" {
226+
continue
227+
}
225228
switch action {
226229
case "SetFrontendMaxConn":
227230
if len(params) > 2 {

0 commit comments

Comments
 (0)