Skip to content

Commit d66275e

Browse files
committed
Deleted archaic getFailureDomainEndpointSecret() in test/e2e/deploy_app_toxi.go
1 parent 54ca6e1 commit d66275e

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

test/e2e/deploy_app_toxi.go

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ import (
2727
"path/filepath"
2828
"runtime"
2929
"sigs.k8s.io/cluster-api-provider-cloudstack-staging/test/e2e/helpers"
30-
"sigs.k8s.io/controller-runtime/pkg/client"
31-
3230
"sigs.k8s.io/cluster-api/test/framework/clusterctl"
3331
"sigs.k8s.io/cluster-api/util"
3432
)
@@ -162,15 +160,3 @@ func DeployAppToxiSpec(ctx context.Context, inputGetter func() CommonSpecInput)
162160
helpers.TearDownToxiProxyBootstrap(bootstrapClusterToxiProxyContext)
163161
})
164162
}
165-
166-
func getFailureDomainEndpointSecret(ctx context.Context) corev1.Secret {
167-
fdEndpointSecretObjectKey := client.ObjectKey{
168-
Namespace: input.E2EConfig.GetVariable("CLOUDSTACK_FD1_SECRET_NAMESPACE"),
169-
Name: input.E2EConfig.GetVariable("CLOUDSTACK_FD1_SECRET_NAME"),
170-
}
171-
fdEndpointSecret := corev1.Secret{}
172-
err := input.BootstrapClusterProxy.GetClient().Get(ctx, fdEndpointSecretObjectKey, &fdEndpointSecret)
173-
Expect(err).To(BeNil())
174-
175-
return fdEndpointSecret
176-
}

0 commit comments

Comments
 (0)