Skip to content

Commit

Permalink
test/e2e: fix cluster cleanup in self-hosted tests
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Büringer buringerst@vmware.com
  • Loading branch information
sbueringer authored and k8s-infra-cherrypick-robot committed Jan 16, 2023
1 parent 8592d54 commit 1bfb91e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/self_hosted.go
Expand Up @@ -232,7 +232,7 @@ func SelfHostedSpec(ctx context.Context, inputGetter func() SelfHostedSpecInput)
// object. The Cluster object has special processing for the paused field during the move to
// avoid having clusterctl as the manager of the field.
log.Logf("Ensure clusterctl does not take ownership on any fields on the self-hosted cluster")
selfHostedCluster := framework.GetClusterByName(ctx, framework.GetClusterByNameInput{
selfHostedCluster = framework.GetClusterByName(ctx, framework.GetClusterByNameInput{
Getter: selfHostedClusterProxy.GetClient(),
Name: cluster.Name,
Namespace: selfHostedNamespace.Name,
Expand Down

0 comments on commit 1bfb91e

Please sign in to comment.