mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
unused method
This commit is contained in:
parent
8f240276db
commit
12825938d7
|
@ -36,11 +36,6 @@ func encodeResponse(response interface{}) []byte {
|
||||||
return bytesBuffer.Bytes()
|
return bytesBuffer.Bytes()
|
||||||
}
|
}
|
||||||
|
|
||||||
func newContext(r *http.Request, api string) context.Context {
|
|
||||||
vars := mux.Vars(r)
|
|
||||||
return context.WithValue(context.Background(), "bucket", vars["bucket"])
|
|
||||||
}
|
|
||||||
|
|
||||||
func (s3a *S3ApiServer) withFilerClient(fn func(filer_pb.SeaweedFilerClient) error) error {
|
func (s3a *S3ApiServer) withFilerClient(fn func(filer_pb.SeaweedFilerClient) error) error {
|
||||||
|
|
||||||
grpcConnection, err := util.GrpcDial(s3a.option.FilerGrpcAddress)
|
grpcConnection, err := util.GrpcDial(s3a.option.FilerGrpcAddress)
|
||||||
|
|
Loading…
Reference in a new issue