mirror of
https://github.com/minio/minio.git
synced 2024-12-26 07:05:55 -05:00
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 |