From eda4c43a08e449a26fb1cc6d5bca17e2144b0add Mon Sep 17 00:00:00 2001 From: Sebastian Kurfuerst Date: Wed, 29 Dec 2021 12:38:14 +0100 Subject: [PATCH] fix typo in error message --- weed/security/guard.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/security/guard.go b/weed/security/guard.go index 87ec91ec1..8cb52620e 100644 --- a/weed/security/guard.go +++ b/weed/security/guard.go @@ -123,5 +123,5 @@ func (g *Guard) checkWhiteList(w http.ResponseWriter, r *http.Request) error { } glog.V(0).Infof("Not in whitelist: %s", r.RemoteAddr) - return fmt.Errorf("Not in whitelis: %s", r.RemoteAddr) + return fmt.Errorf("Not in whitelist: %s", r.RemoteAddr) }