comment out
Some checks failed
Lint / Run on Ubuntu (push) Failing after 1m6s
Tests / Run on Ubuntu (push) Successful in 1m57s
Build images / Build docker image (push) Failing after 2m53s

This commit is contained in:
Chris Richardson
2025-07-03 13:25:42 -04:00
parent 69f2af2549
commit 92d2192729

View File

@@ -17,6 +17,7 @@ limitations under the License.
package main package main
import ( import (
"context"
"crypto/tls" "crypto/tls"
"flag" "flag"
"os" "os"
@@ -205,10 +206,11 @@ func main() {
os.Exit(1) os.Exit(1)
} }
ctx := context.Background()
if err = (&controller.LocustClusterReconciler{ if err = (&controller.LocustClusterReconciler{
Client: mgr.GetClient(), Client: mgr.GetClient(),
Scheme: mgr.GetScheme(), Scheme: mgr.GetScheme(),
}).SetupWithManager(mgr); err != nil { }).SetupWithManager(mgr, ctx); err != nil {
setupLog.Error(err, "unable to create controller", "controller", "LocustCluster") setupLog.Error(err, "unable to create controller", "controller", "LocustCluster")
os.Exit(1) os.Exit(1)
} }