mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
unify single-node and distributed namespace locking (#2401)
This commit is contained in:
committed by
Harshavardhana
parent
b7c169d71d
commit
b0f3f94163
@@ -45,7 +45,8 @@ import (
|
||||
// Tests should initNSLock only once.
|
||||
func init() {
|
||||
// Initialize name space lock.
|
||||
initNSLock()
|
||||
isDist := false
|
||||
initNSLock(isDist)
|
||||
}
|
||||
|
||||
// TestErrHandler - Golang Testing.T and Testing.B, and gocheck.C satisfy this interface.
|
||||
|
||||
Reference in New Issue
Block a user