mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
rpc: Add RPC client tests. (#2858)
This commit is contained in:
@@ -84,11 +84,12 @@ func configureServerHandler(srvCmdConfig serverCmdConfig) http.Handler {
|
||||
// Initialize router.
|
||||
mux := router.NewRouter()
|
||||
|
||||
// Register storage rpc router.
|
||||
registerStorageRPCRouters(mux, srvCmdConfig)
|
||||
|
||||
// Initialize distributed NS lock.
|
||||
if isDistributedSetup(srvCmdConfig.disks) {
|
||||
// Register storage rpc router only if its a distributed setup.
|
||||
registerStorageRPCRouters(mux, srvCmdConfig)
|
||||
|
||||
// Register distributed namespace lock.
|
||||
registerDistNSLockRouter(mux, srvCmdConfig)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user