commit | c0104fc33ccf7e843efd37cc033e4c3849a37844 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Sat Sep 28 10:37:31 2019 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Sat Sep 28 10:44:54 2019 +0200 |
tree | 2f65fa33966f1bf1d5d40b4b6ab4eac79906e2b8 | |
parent | 1909aa1e2f34dc8aaa86c279553eec2c99c14f2e [diff] |
BUG/MINOR: stats: Add a missing break in a switch statement A break is missing in the switch statement in the function stats_emit_json_data_field(). This bug was introduced in the commit 88a0db28a ("MINOR: stats: Add the support of float fields in stats"). This patch fixes the issue #302 and #303. It must be backported to 2.0. (cherry picked from commit 52c91bb72ccf20e75f2f79da6ebe345cb2a768f4) Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>