mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-06 12:20:07 +00:00
CLEANUP: Reapply ist.cocci (3)
This reapplies ist.cocci across the whole src/ tree.
This commit is contained in:
parent
296e9b8de1
commit
cd5d62249f
@ -3947,9 +3947,9 @@ static int rslv_promex_fill_ts(void *unused, void *metric_ctx, unsigned int id,
|
||||
int ret;
|
||||
|
||||
labels[0].name = ist("resolver");
|
||||
labels[0].value = ist2(resolver->id, strlen(resolver->id));
|
||||
labels[0].value = ist(resolver->id);
|
||||
labels[1].name = ist("nameserver");
|
||||
labels[1].value = ist2(ns->id, strlen(ns->id));
|
||||
labels[1].value = ist(ns->id);
|
||||
|
||||
ret = resolv_fill_stats(ns->counters, stats, &id);
|
||||
if (ret == 1)
|
||||
|
@ -5947,9 +5947,9 @@ static int stk_promex_fill_ts(void *unused, void *metric_ctx, unsigned int id, s
|
||||
return 0;
|
||||
|
||||
labels[0].name = ist("name");
|
||||
labels[0].value = ist2(t->id, strlen(t->id));
|
||||
labels[0].value = ist(t->id);
|
||||
labels[1].name = ist("type");
|
||||
labels[1].value = ist2(stktable_types[t->type].kw, strlen(stktable_types[t->type].kw));
|
||||
labels[1].value = ist(stktable_types[t->type].kw);
|
||||
|
||||
switch (id) {
|
||||
case STICKTABLE_SIZE:
|
||||
|
Loading…
Reference in New Issue
Block a user