Skip to content

Commit 790575c

Browse files
committed
Remove unused functions
Signed-off-by: Tomáš Smädo <[email protected]>
1 parent 6b47f48 commit 790575c

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Tests/kaas/kaas-sonobuoy-tests/scs_k8s_conformance_tests/scs_0212_v1_registry_standard_test.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"context"
55
"fmt"
66
"log"
7-
"os"
87
"testing"
98

109
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -25,7 +24,6 @@ var HarborComponentNames = []string{
2524
func Test_scs_0212_registry_standard_test(t *testing.T) {
2625
// Set up the Kubernetes client
2726
config, err := rest.InClusterConfig()
28-
// config, err := clientcmd.BuildConfigFromFlags("", filepath.Join(homeDir(), ".kube", "config"))
2927
if err != nil {
3028
log.Fatalf("Failed to create rest config: %v", err)
3129
}
@@ -100,11 +98,3 @@ func checkServices(clientset *kubernetes.Clientset) error {
10098
func containsString(str, substr string) bool {
10199
return len(str) > 0 && len(substr) > 0 && (str == substr || (len(str) > len(substr) && str[:len(substr)] == substr))
102100
}
103-
104-
func homeDir() string {
105-
if h := os.Getenv("HOME"); h != "" {
106-
println(h)
107-
return h
108-
}
109-
return ""
110-
}

0 commit comments

Comments
 (0)