NAS gateway: fix notification initialization (#8920)

Co-authored-by: Harshavardhana <harsha@minio.io>
This commit is contained in:
poornas
2020-02-02 01:52:07 -08:00
committed by GitHub
parent 7ce63b3078
commit 1ea2449269
2 changed files with 6 additions and 2 deletions

View File

@@ -704,7 +704,7 @@ func (sys *NotificationSys) Init(buckets []BucketInfo, objAPI ObjectLayer) error
}
// In gateway mode, notifications are not supported.
if globalIsGateway {
if globalIsGateway && !objAPI.IsNotificationSupported() {
return nil
}