fix: panic for TestListObjectsWithILM (#21322)

This commit is contained in:
jiuker
2025-05-27 23:18:36 +08:00
committed by GitHub
parent 9f24ca5d66
commit ea77bcfc98
2 changed files with 13 additions and 2 deletions

View File

@@ -452,7 +452,9 @@ func initAllSubsystems(ctx context.Context) {
globalNotificationSys = NewNotificationSys(globalEndpoints)
// Create new notification system
globalEventNotifier = NewEventNotifier(GlobalContext)
if globalEventNotifier == nil {
globalEventNotifier = NewEventNotifier(GlobalContext)
}
// Create new bucket metadata system.
if globalBucketMetadataSys == nil {