Skip to content

Commit

Permalink
fix(evpn): send signal instead of closing channel
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitrios Markou <[email protected]>
  • Loading branch information
mardim91 authored and artek-koltun committed Mar 7, 2025
1 parent 9084b16 commit 572b394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/infradb/taskmanager/taskmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func (t *TaskManager) StatusUpdated(name, objectType, resourceVersion, notificat

// ReplayFinished notifies that the replay of objects has finished
func (t *TaskManager) ReplayFinished() {
close(t.replayChan)
t.replayChan <- struct{}{}
log.Println("ReplayFinished(): Replay has finished.")
}

Expand Down

0 comments on commit 572b394

Please sign in to comment.