mirror of
https://github.com/minio/minio.git
synced 2025-11-23 11:07:50 -05:00
Remove MINIO_DEBUG environment variable (#2794)
Removes the unimplemented settings of MINIO_DEBUG=mem and makes MINIO_DEBUG=lock the default behaviour.
This commit is contained in:
committed by
Harshavardhana
parent
ca3022d545
commit
8ea571c7f7
@@ -271,13 +271,7 @@ func (n *nsLockMap) deleteLockInfoEntryForOps(param nsParam, operationID string)
|
||||
return nil
|
||||
}
|
||||
|
||||
// return randomly generated string ID if lock debug is enabled,
|
||||
// else returns empty string
|
||||
func getOpsID() (opsID string) {
|
||||
// check if lock debug is enabled.
|
||||
if globalDebugLock {
|
||||
// generated random ID.
|
||||
opsID = string(generateRequestID())
|
||||
}
|
||||
return opsID
|
||||
// return randomly generated string ID
|
||||
func getOpsID() string {
|
||||
return string(generateRequestID())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user