go fmt
This commit is contained in:
@@ -85,4 +85,3 @@ func NewFilerServer(defaultMux, readonlyMux *http.ServeMux, option *FilerOption)
|
||||
|
||||
return fs, nil
|
||||
}
|
||||
|
||||
|
||||
@@ -234,4 +234,3 @@ func (fs *FilerServer) writeContent(w io.Writer, entry *filer2.Entry, offset int
|
||||
return filer2.StreamContent(fs.filer.MasterClient, w, entry.Chunks, offset, size)
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ func (vs *VolumeServer) maybeCheckJwtAuthorization(r *http.Request, vid, fid str
|
||||
} else {
|
||||
signingKey = vs.guard.SigningKey
|
||||
}
|
||||
}else {
|
||||
} else {
|
||||
if len(vs.guard.ReadSigningKey) == 0 {
|
||||
return true
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user