diff --git a/cli/cmd/config/read/command_test.go b/cli/cmd/config/read/command_test.go index de4d042b95..0ca417c351 100644 --- a/cli/cmd/config/read/command_test.go +++ b/cli/cmd/config/read/command_test.go @@ -139,22 +139,3 @@ func getInitializedCommand(t *testing.T, buf io.Writer) *ReadCommand { c.init() return c } - -func createServers(name, namespace string, replicas, readyReplicas int32, k8s kubernetes.Interface) error { - servers := appsv1.StatefulSet{ - ObjectMeta: metav1.ObjectMeta{ - Name: name, - Namespace: namespace, - Labels: map[string]string{"app": "consul", "chart": "consul-helm", "component": "server"}, - }, - Spec: appsv1.StatefulSetSpec{ - Replicas: &replicas, - }, - Status: appsv1.StatefulSetStatus{ - Replicas: replicas, - ReadyReplicas: readyReplicas, - }, - } - _, err := k8s.AppsV1().StatefulSets(namespace).Create(context.Background(), &servers, metav1.CreateOptions{}) - return err -}