comment out
Some checks failed
Lint / Run on Ubuntu (push) Failing after 5m54s
E2E Tests / Run on Ubuntu (push) Failing after 46s
Build images / Run lint test (push) Failing after 6m56s
Build images / Run unit test (push) Failing after 13m3s
Tests / Run on Ubuntu (push) Failing after 9m47s
Build images / Run e2e tests (push) Failing after 17m14s
Build images / Build docker image (push) Has been skipped

This commit is contained in:
Chris Richardson
2025-07-02 13:22:50 -04:00
parent 9aecad4697
commit d03dff5a05

View File

@@ -4,8 +4,6 @@ import (
"context"
locustCluster "git.lilpenguins.com/crichardson/locust-operator/api/v1alpha1"
"github.com/go-logr/logr"
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
"sigs.k8s.io/controller-runtime/pkg/client"
)
@@ -19,6 +17,7 @@ func GetLocustCluster(client client.Client, ctx context.Context, namespace strin
return cluster, nil
}
/*
func (r *LocustClusterReconciler) IsLeaderUp(log logr.Logger, locustCluster *locustCluster.LocustCluster, ctx context.Context) (*unstructured.UnstructuredList, error) {
podkind := &unstructured.UnstructuredList{}
podkind.SetKind("pod")
@@ -50,3 +49,5 @@ func (r *LocustClusterReconciler) CreateUpdateLeader(log logr.Logger, locustClus
}
return err
}
*/