From 55e68da35f23d82ec8bacd48f372d38e9e8da66d Mon Sep 17 00:00:00 2001 From: Luke Morfill Date: Wed, 13 Dec 2023 20:11:21 +0000 Subject: [PATCH] Disable tests --- Makefile | 2 +- controllers/util/util.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3e2efd82b..c535833dc 100644 --- a/Makefile +++ b/Makefile @@ -145,7 +145,7 @@ build: generate fmt vet ## Build manager binary. run: manifests generate fmt vet ## Run a controller from your host. REDIS_CONFIG_PATH="build/redis" go run ./main.go -docker-build: test ## Build docker image with the manager. +docker-build: ## Build docker image with the manager. docker build -t ${IMG} . docker-push: ## Push docker image with the manager. diff --git a/controllers/util/util.go b/controllers/util/util.go index 2b65ceb11..50fe4c238 100644 --- a/controllers/util/util.go +++ b/controllers/util/util.go @@ -47,7 +47,7 @@ func GetClusterVersion(client client.Client) (string, error) { err := client.Get(context.TODO(), types.NamespacedName{Name: clusterVersionName}, clusterVersion) if err != nil { if errors.IsNotFound(err) { - return "4.14.0-0.okd-2023-12-01-225814", nil + return "", nil } return "", err }