Skip to content

Commit 3d6f069

Browse files
committed
refactor(operatorstatus): make sync channel receive-only
1 parent ec8a3b9 commit 3d6f069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/lib/operatorstatus/status.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
olmversion "github.com/operator-framework/operator-lifecycle-manager/pkg/version"
2020
)
2121

22-
func MonitorClusterStatus(name string, syncCh chan error, stopCh <-chan struct{}, opClient operatorclient.ClientInterface, configClient configv1client.ConfigV1Interface) {
22+
func MonitorClusterStatus(name string, syncCh <-chan error, stopCh <-chan struct{}, opClient operatorclient.ClientInterface, configClient configv1client.ConfigV1Interface) {
2323
var (
2424
syncs int
2525
successfulSyncs int

0 commit comments

Comments
 (0)