mirror of
https://github.com/pgsty/minio.git
synced 2026-08-10 08:13:28 +03:00
list/xl: Fix the way marker is handled in leafDirectory verification.
This commit is contained in:
committed by
Harshavardhana
parent
c302875774
commit
c7bf471c9e
@@ -99,11 +99,15 @@ func (s *storageServer) DeleteFileHandler(arg *DeleteFileArgs, reply *GenericRep
|
||||
return nil
|
||||
}
|
||||
|
||||
// registerStorageRPCRouter - register storage rpc router.
|
||||
func registerStorageRPCRouter(mux *router.Router, storageAPI StorageAPI) {
|
||||
stServer := &storageServer{
|
||||
// Initialize new storage rpc.
|
||||
func newStorageRPC(storageAPI StorageAPI) *storageServer {
|
||||
return &storageServer{
|
||||
storage: storageAPI,
|
||||
}
|
||||
}
|
||||
|
||||
// registerStorageRPCRouter - register storage rpc router.
|
||||
func registerStorageRPCRouter(mux *router.Router, stServer *storageServer) {
|
||||
storageRPCServer := rpc.NewServer()
|
||||
storageRPCServer.RegisterName("Storage", stServer)
|
||||
storageRouter := mux.NewRoute().PathPrefix(reservedBucket).Subrouter()
|
||||
|
||||
Reference in New Issue
Block a user