Skip to content

Commit 204041b

Browse files
committed
fix start/stop factory #2
Signed-off-by: Mikhail Scherba <[email protected]>
1 parent 6a486a0 commit 204041b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/kube_events_manager/factory.go

+1
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ func (c *FactoryStore) Stop(index FactoryIndex) {
123123
if f.score == 0 {
124124
f.cancel()
125125
delete(c.data, index)
126+
return
126127
}
127128

128129
c.data[index] = f

0 commit comments

Comments
 (0)