aboutsummaryrefslogtreecommitdiff
path: root/weed/security/guard.go
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2022-01-02 01:07:30 -0800
committerGitHub <noreply@github.com>2022-01-02 01:07:30 -0800
commit42c849e0df74610d38453db67670db715ceb80aa (patch)
tree81912d857c0dcc0dba64661aa8f06ba81e68a40a /weed/security/guard.go
parent5c87fcc6d28b230154db35cbe7735a5f1b84024f (diff)
parent9b941773805400c520558d83aed633adc821988c (diff)
downloadseaweedfs-42c849e0df74610d38453db67670db715ceb80aa.tar.xz
seaweedfs-42c849e0df74610d38453db67670db715ceb80aa.zip
Merge branch 'master' into metadata_follow_with_client_id
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)
}