mirror of
https://github.com/minio/minio.git
synced 2026-11-20 23:06:17 +00:00
Enable build verification with race (#8583)
This commit is contained in:
1 parent
947bc8c7d3
commit
2ab8d5e47f
11 files changed
+86
-121
No files matched your search
@@ -23,6 +23,12 @@ import (
|
||||
xhttp "github.com/minio/minio/cmd/http"
|
||||
)
|
||||
|
||||
func newHTTPServerFn() *xhttp.Server {
|
||||
globalObjLayerMutex.Lock()
|
||||
defer globalObjLayerMutex.Unlock()
|
||||
return globalHTTPServer
|
||||
}
|
||||
|
||||
func newObjectLayerWithoutSafeModeFn() ObjectLayer {
|
||||
globalObjLayerMutex.Lock()
|
||||
defer globalObjLayerMutex.Unlock()
|
||||
|
||||
Reference in new issue
Block a user