fix(BRIDGE-377): Correct label field usage on label update handler

This commit is contained in:
Atanas Janeshliev
2025-06-03 15:34:25 +02:00
parent 4088cf18c3
commit 9cb914cf13

View File

@ -151,7 +151,7 @@ func onLabelUpdated(ctx context.Context, s *Service, event proton.LabelEvent) ([
// Resolve potential conflicts
labelConflictResolver := s.labelConflictManager.NewConflictResolver(maps.Values(s.connectors))
conflictUpdatesGenerator, err := labelConflictResolver.ResolveConflict(ctx, event.Label, make(map[string]bool))
conflictUpdatesGenerator, err := labelConflictResolver.ResolveConflict(ctx, apiLabel, make(map[string]bool))
if err != nil {
return updates, err
}