mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-10 04:12:48 +02:00
MINOR: stktable: stktable_init() sets err_msg on error
stktable_init() now sets err_msg when error occurs so that caller is able to precisely report the cause of the failure.
This commit is contained in:
committed by
Willy Tarreau
parent
b6a9eca88d
commit
b8c19f877a
@@ -46,7 +46,7 @@ void stksess_free(struct stktable *t, struct stksess *ts);
|
||||
int stksess_kill(struct stktable *t, struct stksess *ts, int decrefcount);
|
||||
int stktable_get_key_shard(struct stktable *t, const void *key, size_t len);
|
||||
|
||||
int stktable_init(struct stktable *t);
|
||||
int stktable_init(struct stktable *t, char **err_msg);
|
||||
int stktable_parse_type(char **args, int *idx, unsigned long *type, size_t *key_size, const char *file, int linenum);
|
||||
int parse_stick_table(const char *file, int linenum, char **args,
|
||||
struct stktable *t, char *id, char *nid, struct peers *peers);
|
||||
|
||||
Reference in New Issue
Block a user