diff --git a/internal/controller/sync.go b/internal/controller/sync.go index 0fd2541..8a23a94 100644 --- a/internal/controller/sync.go +++ b/internal/controller/sync.go @@ -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 } + +*/