From: Willy Tarreau Date: Fri, 26 Mar 2021 11:01:39 +0000 (+0100) Subject: CLEANUP: sample: remove duplicate "stopping" sample fetch keyword X-Git-Tag: v2.4-dev14~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e26cd0b46c6e59400192405b0f6a6ec04ef20f2b;p=thirdparty%2Fhaproxy.git CLEANUP: sample: remove duplicate "stopping" sample fetch keyword The "stopping" sample fetch keyword was accidently duplicated in 1.9 by commit 70fe94419 ("MINOR: sample: add cpu_calls, cpu_ns_avg, cpu_ns_tot, lat_ns_avg, lat_ns_tot"). This has no effect so no backport is needed. --- diff --git a/src/sample.c b/src/sample.c index ea60b935bd..81c96bb766 100644 --- a/src/sample.c +++ b/src/sample.c @@ -4038,7 +4038,6 @@ static struct sample_fetch_kw_list smp_kws = {ILH, { { "thread", smp_fetch_thread, 0, NULL, SMP_T_SINT, SMP_USE_INTRN }, { "rand", smp_fetch_rand, ARG1(0,SINT), NULL, SMP_T_SINT, SMP_USE_INTRN }, { "stopping", smp_fetch_stopping, 0, NULL, SMP_T_BOOL, SMP_USE_INTRN }, - { "stopping", smp_fetch_stopping, 0, NULL, SMP_T_BOOL, SMP_USE_INTRN }, { "uuid", smp_fetch_uuid, ARG1(0, SINT), smp_check_uuid, SMP_T_STR, SMP_USE_INTRN }, { "cpu_calls", smp_fetch_cpu_calls, 0, NULL, SMP_T_SINT, SMP_USE_INTRN },