diff options
author | Oleksandr Redko <Oleksandr_Redko@epam.com> | 2023-05-18 12:05:56 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-05-18 21:25:27 +0200 |
commit | 610cedaa61cf1f318ecd4a7818a896b1e56e7662 (patch) | |
tree | 3c206f0386b05b44ec1f3bd00f9d96f6904c8446 /config/security | |
parent | 24e7d0c174a24a016f65be46765ab9c795e1e123 (diff) |
all: Fix comments for exported functions and packages
Diffstat (limited to 'config/security')
-rw-r--r-- | config/security/whitelist.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/security/whitelist.go b/config/security/whitelist.go index ee1025d3b..72a80da2e 100644 --- a/config/security/whitelist.go +++ b/config/security/whitelist.go @@ -84,7 +84,7 @@ func NewWhitelist(patterns ...string) Whitelist { return Whitelist{patterns: patternsr, patternsStrings: patternsStrings} } -// Accepted reports whether name is whitelisted. +// Accept reports whether name is whitelisted. func (w Whitelist) Accept(name string) bool { if w.acceptNone { return false |