mirror of https://github.com/minio/minio.git
d9c1d79e30
Logger targets were not race protected against concurrent updates from for example `HTTPConsoleLoggerSys`. Restrict direct access to targets and make slices immutable so a returned slice can be processed safely without locks. |
||
---|---|---|
.. | ||
message | ||
target | ||
audit.go | ||
config.go | ||
console.go | ||
help.go | ||
legacy.go | ||
logger.go | ||
logonce.go | ||
reqinfo.go | ||
targets.go | ||
utils.go |