mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-07 11:58:55 +00: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…
Reference in New Issue
Block a user