Skip to content

Commit 4eb723a

Browse files
committed
Remove noop code
1 parent 2eebadb commit 4eb723a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

internal/kubernetes/event/watcher.go

-4
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ type Watcher struct {
3333
}
3434

3535
func NewWatcher(pool *pgxpool.Pool, clients map[string]kubernetes.Interface, log logrus.FieldLogger) *Watcher {
36-
chs := make([]chan bool, 0, len(clients))
37-
for range clients {
38-
chs = append(chs, make(chan bool, 1))
39-
}
4036
return &Watcher{
4137
clients: clients,
4238
events: make(chan eventsql.UpsertParams, 20),

0 commit comments

Comments
 (0)