mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-18 02:56:47 +02:00
CLEANUP: server: rename findserver() to server_find_by_name()
Now it's more logical and matches what is done in the rest of these functions. server_find() now relies on it.
This commit is contained in:
@@ -1440,7 +1440,7 @@ __LJMP int hlua_lua2arg_check(lua_State *L, int first, struct arg *argp,
|
||||
sname = argp[idx].data.str.area;
|
||||
px = p;
|
||||
}
|
||||
argp[idx].data.srv = findserver(px, sname);
|
||||
argp[idx].data.srv = server_find_by_name(px, sname);
|
||||
if (!argp[idx].data.srv) {
|
||||
msg = "server doesn't exist";
|
||||
goto error;
|
||||
|
||||
Reference in New Issue
Block a user