aboutsummaryrefslogtreecommitdiff
path: root/weed/security
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-02-09 12:52:12 -0800
committerChris Lu <chris.lu@gmail.com>2019-02-09 12:52:12 -0800
commit729d71fd4cf07709331ba05dd075c54e2effabe9 (patch)
tree89eb216db67c6c5743ebfa3cddb62a7461dc5634 /weed/security
parent8afc63248449ee681dc964e07ab687a0f4cb8a9b (diff)
parent820bb05182fded5606a5e4aef8fa3396bc854451 (diff)
downloadseaweedfs-729d71fd4cf07709331ba05dd075c54e2effabe9.tar.xz
seaweedfs-729d71fd4cf07709331ba05dd075c54e2effabe9.zip
Merge branch 'master' of https://github.com/chrislusf/seaweedfs
Diffstat (limited to 'weed/security')
-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 dea3b12f2..fd9c8e0b3 100644
--- a/weed/security/guard.go
+++ b/weed/security/guard.go
@@ -158,5 +158,5 @@ func (g *Guard) checkJwt(w http.ResponseWriter, r *http.Request) error {
}
glog.V(1).Infof("No permission from %s", r.RemoteAddr)
- return fmt.Errorf("No write permisson from %s", r.RemoteAddr)
+ return fmt.Errorf("No write permission from %s", r.RemoteAddr)
}