mirror of
https://github.com/pgsty/minio.git
synced 2026-07-16 12:25:27 +03:00
6b9805e891
RegisterNotificationTargets() cleans up all connections that it makes to notification targets when an error occurs during its execution. However there is a typo in the code that makes the function to always try to access to a nil pointer in the defer code since the function in question will always return nil in the case of any error. This commit fixes the typo in the code.