diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-02-09 12:52:12 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-02-09 12:52:12 -0800 |
| commit | 729d71fd4cf07709331ba05dd075c54e2effabe9 (patch) | |
| tree | 89eb216db67c6c5743ebfa3cddb62a7461dc5634 /weed/security/guard.go | |
| parent | 8afc63248449ee681dc964e07ab687a0f4cb8a9b (diff) | |
| parent | 820bb05182fded5606a5e4aef8fa3396bc854451 (diff) | |
| download | seaweedfs-729d71fd4cf07709331ba05dd075c54e2effabe9.tar.xz seaweedfs-729d71fd4cf07709331ba05dd075c54e2effabe9.zip | |
Merge branch 'master' of https://github.com/chrislusf/seaweedfs
Diffstat (limited to 'weed/security/guard.go')
| -rw-r--r-- | weed/security/guard.go | 2 |
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) } |
