diff options
author | Leo Di Donato <leodidonato@gmail.com> | 2021-07-12 17:13:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-12 11:13:01 -0400 |
commit | 46d99aba854ce19d51a075c39a8747b4f2404743 (patch) | |
tree | 4dc879170436778b1928ee84607ff79d8a2d14e8 | |
parent | 9e16e80f3c9ae663e3ecf596a578a852172e38fb (diff) |
logging: Add missing interface guards for replace filter (#4244)
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
-rw-r--r-- | modules/logging/filters.go | 2 |
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) |