From 7ccee6d6030bca53c48ec9aa33c3e627d023daf0 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 24 Feb 2022 11:32:19 +0100 Subject: [PATCH] remove unused KubernetesEnabled() test-utility Signed-off-by: Sebastiaan van Stijn --- internal/test/environment/testenv.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/internal/test/environment/testenv.go b/internal/test/environment/testenv.go index 2838fb0302..4340df0ed6 100644 --- a/internal/test/environment/testenv.go +++ b/internal/test/environment/testenv.go @@ -53,11 +53,6 @@ func Setup() error { return nil } -// KubernetesEnabled returns if Kubernetes testing is enabled -func KubernetesEnabled() bool { - return os.Getenv("KUBECONFIG") != "" -} - // RemoteDaemon returns true if running against a remote daemon func RemoteDaemon() bool { return os.Getenv("REMOTE_DAEMON") != ""