mirror of
https://github.com/minio/minio.git
synced 2025-01-23 12:43:16 -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.