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
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:
@@ -4,8 +4,6 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
|
|
||||||
locustCluster "git.lilpenguins.com/crichardson/locust-operator/api/v1alpha1"
|
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"
|
"sigs.k8s.io/controller-runtime/pkg/client"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -19,6 +17,7 @@ func GetLocustCluster(client client.Client, ctx context.Context, namespace strin
|
|||||||
return cluster, nil
|
return cluster, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
func (r *LocustClusterReconciler) IsLeaderUp(log logr.Logger, locustCluster *locustCluster.LocustCluster, ctx context.Context) (*unstructured.UnstructuredList, error) {
|
func (r *LocustClusterReconciler) IsLeaderUp(log logr.Logger, locustCluster *locustCluster.LocustCluster, ctx context.Context) (*unstructured.UnstructuredList, error) {
|
||||||
podkind := &unstructured.UnstructuredList{}
|
podkind := &unstructured.UnstructuredList{}
|
||||||
podkind.SetKind("pod")
|
podkind.SetKind("pod")
|
||||||
@@ -50,3 +49,5 @@ func (r *LocustClusterReconciler) CreateUpdateLeader(log logr.Logger, locustClus
|
|||||||
}
|
}
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user