mirror of
https://github.com/pgsty/minio.git
synced 2026-07-24 14:36:15 +03:00
Remove unnecessary contexts passed as data to FatalIf. No need to log an empty context. (#6487)
This commit is contained in:
committed by
Harshavardhana
parent
584cb61bb8
commit
df60b3c733
@@ -186,7 +186,7 @@ func NewLockRPCServer() (*xrpc.Server, error) {
|
||||
// Register distributed NS lock handlers.
|
||||
func registerDistNSLockRouter(router *mux.Router) {
|
||||
rpcServer, err := NewLockRPCServer()
|
||||
logger.FatalIf(err, "Unable to initialize Lock RPC Server", context.Background())
|
||||
logger.FatalIf(err, "Unable to initialize Lock RPC Server")
|
||||
|
||||
// Start lock maintenance from all lock servers.
|
||||
go startLockMaintenance(globalLockServer)
|
||||
|
||||
Reference in New Issue
Block a user