Files
coredns/plugin
Miek Gieben 2ef55f805e plugin/metrics: fix failed reload (#2816)
Fix metrics endpoint on a failed reload, follows the same lines as the
previous PRs, see for e.g. 076b8d4f. Test with a Corefile with 2 server
blocks and metrics enabled and then introducing a syntax error:

~~~
[ERROR] Restart failed: Corefile:5 - Error during parsing: Unknown directive 'jfkdjk'
[ERROR] SIGUSR1: starting with listener file descriptors: Corefile:5 - Error during parsing: Unknown directive 'jfkdjk'
~~~

And then curl-ing the metrics endpoint.

See #2659 and as this is the last one.

Fixes: #2659

Getting this all right turns out to be tricky, also it's not easy
testable which is something I should fix.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-05-13 04:26:05 -07:00
..
2019-04-28 11:46:45 +01:00
2018-07-19 16:23:06 +01:00
2019-04-30 13:49:53 -04:00
2019-02-17 08:31:58 +00:00
2019-04-29 13:51:45 -04:00
2019-04-24 07:01:44 +01:00
2019-02-21 07:23:34 +00:00
2019-04-08 11:13:46 +01:00
2018-07-19 16:23:06 +01:00
2019-04-08 11:15:05 +01:00
2019-04-29 13:51:45 -04:00
2019-03-07 20:35:16 +00:00
2018-08-14 08:55:55 -07:00
2019-03-04 07:32:38 +00:00
2018-07-19 16:23:06 +01:00