1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-07-04 08:06:53 +02:00

remove unused code

This commit is contained in:
Chris Lu 2019-05-04 08:20:22 -07:00
parent 4b27f892e6
commit bd8af92b54
2 changed files with 0 additions and 8 deletions

View file

@ -85,10 +85,6 @@ func NewFilerServer(defaultMux, readonlyMux *http.ServeMux, option *FilerOption)
return fs, nil
}
func (fs *FilerServer) jwt(fileId string) security.EncodedJwt {
return security.GenJwt(fs.secret, fileId)
}
func LoadConfiguration(configFileName string, required bool) (loaded bool) {
// find a filer store

View file

@ -83,7 +83,3 @@ func (vs *VolumeServer) Shutdown() {
vs.store.Close()
glog.V(0).Infoln("Shut down successfully!")
}
func (vs *VolumeServer) jwt(fileId string) security.EncodedJwt {
return security.GenJwt(vs.guard.SigningKey, fileId)
}