mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 20:47:55 +08:00
remove unused code
This commit is contained in:
@@ -85,10 +85,6 @@ func NewFilerServer(defaultMux, readonlyMux *http.ServeMux, option *FilerOption)
|
|||||||
return fs, nil
|
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) {
|
func LoadConfiguration(configFileName string, required bool) (loaded bool) {
|
||||||
|
|
||||||
// find a filer store
|
// find a filer store
|
||||||
|
@@ -83,7 +83,3 @@ func (vs *VolumeServer) Shutdown() {
|
|||||||
vs.store.Close()
|
vs.store.Close()
|
||||||
glog.V(0).Infoln("Shut down successfully!")
|
glog.V(0).Infoln("Shut down successfully!")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (vs *VolumeServer) jwt(fileId string) security.EncodedJwt {
|
|
||||||
return security.GenJwt(vs.guard.SigningKey, fileId)
|
|
||||||
}
|
|
||||||
|
Reference in New Issue
Block a user