summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorLeo Di Donato <leodidonato@gmail.com>2021-07-12 17:13:01 +0200
committerGitHub <noreply@github.com>2021-07-12 11:13:01 -0400
commit46d99aba854ce19d51a075c39a8747b4f2404743 (patch)
tree4dc879170436778b1928ee84607ff79d8a2d14e8 /modules
parent9e16e80f3c9ae663e3ecf596a578a852172e38fb (diff)
logging: Add missing interface guards for replace filter (#4244)
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
Diffstat (limited to 'modules')
-rw-r--r--modules/logging/filters.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/logging/filters.go b/modules/logging/filters.go
index a4e3c73..ef5a4cb 100644
--- a/modules/logging/filters.go
+++ b/modules/logging/filters.go
@@ -188,9 +188,11 @@ func (m IPMaskFilter) Filter(in zapcore.Field) zapcore.Field {
// Interface guards
var (
_ LogFieldFilter = (*DeleteFilter)(nil)
+ _ LogFieldFilter = (*ReplaceFilter)(nil)
_ LogFieldFilter = (*IPMaskFilter)(nil)
_ caddyfile.Unmarshaler = (*DeleteFilter)(nil)
+ _ caddyfile.Unmarshaler = (*ReplaceFilter)(nil)
_ caddyfile.Unmarshaler = (*IPMaskFilter)(nil)
_ caddy.Provisioner = (*IPMaskFilter)(nil)