aboutsummaryrefslogtreecommitdiff
path: root/weed/security/guard.go
diff options
context:
space:
mode:
authorSebastian Kurfuerst <sebastian.kurfuerst@sandstorm.de>2021-12-29 12:38:14 +0100
committerSebastian Kurfuerst <sebastian.kurfuerst@sandstorm.de>2021-12-29 12:38:14 +0100
commiteda4c43a08e449a26fb1cc6d5bca17e2144b0add (patch)
tree0c2a72a29162631b06f9a61d461ae76082cbf041 /weed/security/guard.go
parenteb4ad2546f3d584e4f6568bd319ac37e99f1fc85 (diff)
downloadseaweedfs-eda4c43a08e449a26fb1cc6d5bca17e2144b0add.tar.xz
seaweedfs-eda4c43a08e449a26fb1cc6d5bca17e2144b0add.zip
fix typo in error message
Diffstat (limited to 'weed/security/guard.go')
-rw-r--r--weed/security/guard.go2
1 files changed, 1 insertions, 1 deletions
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)
}