From 6397ef15eb5d3620d04ee248ca8973f087f2e49b Mon Sep 17 00:00:00 2001 From: TheiLLeniumStudios <104288623+TheiLLeniumStudios@users.noreply.github.com> Date: Thu, 15 Jan 2026 00:42:38 +0100 Subject: [PATCH] chore: Remove unused function --- test/e2e/utils/utils.go | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/test/e2e/utils/utils.go b/test/e2e/utils/utils.go index 3cf0035..11b35d7 100644 --- a/test/e2e/utils/utils.go +++ b/test/e2e/utils/utils.go @@ -77,29 +77,6 @@ func GetProjectDir() (string, error) { return wd, nil } -// GetNonEmptyLines splits the given output string into individual lines, -// filtering out empty lines. -func GetNonEmptyLines(output string) []string { - var result []string - lines := strings.Split(output, "\n") - for _, line := range lines { - trimmed := strings.TrimSpace(line) - if trimmed != "" { - result = append(result, trimmed) - } - } - return result -} - -// GetEnvOrDefault returns the value of the environment variable named by key, -// or defaultValue if the variable is not present or empty. -func GetEnvOrDefault(key, defaultValue string) string { - if value := os.Getenv(key); value != "" { - return value - } - return defaultValue -} - // GetKubeconfig returns the path to the kubeconfig file. // It checks KUBECONFIG environment variable first, then falls back to ~/.kube/config. func GetKubeconfig() string {