diff options
author | 2021-07-09 18:38:58 +0200 | |
---|---|---|
committer | 2021-07-09 09:38:58 -0700 | |
commit | a26462c28cd8a726a9996e60e938f1fbbea5c950 (patch) | |
tree | 26f7df9f32378436c50330994873792c55493370 /plugin/errors/setup_test.go | |
parent | bdaa2a55271f88e2bf94ee146e90562f8aa57b34 (diff) | |
download | coredns-a26462c28cd8a726a9996e60e938f1fbbea5c950.tar.gz coredns-a26462c28cd8a726a9996e60e938f1fbbea5c950.tar.zst coredns-a26462c28cd8a726a9996e60e938f1fbbea5c950.zip |
plugin/error: use warning instead of warn (#4738)
We use the 'WARNING' in the logs, instead of warn, so make the change
here as well for consistency sake.
Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to 'plugin/errors/setup_test.go')
-rw-r--r-- | plugin/errors/setup_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/errors/setup_test.go b/plugin/errors/setup_test.go index 3bfb87c8d..72fdbcd0a 100644 --- a/plugin/errors/setup_test.go +++ b/plugin/errors/setup_test.go @@ -79,9 +79,9 @@ func TestProperLogCallbackIsSet(t *testing.T) { wantLogLevel string }{ { - name: "warn is parsed properly", + name: "warning is parsed properly", inputErrorsRules: `errors { - consolidate 1m .* warn + consolidate 1m .* warning }`, wantLogLevel: "[WARNING]", }, |