summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorOleksandr Redko <oleksandr.red+github@gmail.com>2023-02-18 22:47:35 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-03-02 16:32:32 +0100
commit36ce3a4a9d3933772085991c8636915ffd5cb3af (patch)
treee7eaf3e0ea689b227fe012eab7c0f16205d6cd8c /config
parent17e60b77e15664ba37f5c0b911cf70c36d496d80 (diff)
Correct typos in Go comments
Diffstat (limited to 'config')
-rw-r--r--config/security/whitelist.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/security/whitelist.go b/config/security/whitelist.go
index 4aff9e9c4..ee1025d3b 100644
--- a/config/security/whitelist.go
+++ b/config/security/whitelist.go
@@ -44,7 +44,7 @@ func (w Whitelist) MarshalJSON() ([]byte, error) {
// NewWhitelist creates a new Whitelist from zero or more patterns.
// An empty patterns list or a pattern with the value 'none' will create
-// a whitelist that will Accept noone.
+// a whitelist that will Accept none.
func NewWhitelist(patterns ...string) Whitelist {
if len(patterns) == 0 {
return Whitelist{acceptNone: true}