mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-04-23 15:21:02 +02:00
MINOR: hlua_fcn: fix Server.is_draining() return type
Adjusting Server.is_draining() return type from integer to boolean to comply with the documentation.
This commit is contained in:
parent
e7405d4124
commit
862a0fe75a
@ -1068,7 +1068,7 @@ int hlua_server_is_draining(lua_State *L)
|
||||
return 1;
|
||||
}
|
||||
|
||||
lua_pushinteger(L, server_is_draining(srv));
|
||||
lua_pushboolean(L, server_is_draining(srv));
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user