NAS gateway: fix notification initialization (#8920)

Co-authored-by: Harshavardhana <harsha@minio.io>
This commit is contained in:
poornasandHarshavardhana authored and GitHub committed 2020-02-02 15:22:07 +05:30
1 parent 7ce63b3078
commit 1ea2449269
2 files changed
+6 -2

No files matched your search

+1 -1
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
}