fix: resolve finalize is not working in some cases

This commit is contained in:
2025-03-09 02:17:59 +03:30
parent 346f69100c
commit b33dc0ba1d
2 changed files with 7 additions and 6 deletions

View File

@@ -15,9 +15,7 @@ import (
"k8s.io/apimachinery/pkg/watch"
)
func (crd Crd) watchFlinkJobs() rxgo.Observable {
ch := make(chan rxgo.Item)
func (crd Crd) watchFlinkJobs(ch chan rxgo.Item) rxgo.Observable {
go func() {
pkg.Logger.Debug("[crd] starting watch")