Skip to content

Commit 73d0dde

Browse files
committed
test/e2e: fix cluster cleanup in self-hosted tests
Signed-off-by: Stefan Büringer [email protected]
1 parent 1243eed commit 73d0dde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/self_hosted.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ func SelfHostedSpec(ctx context.Context, inputGetter func() SelfHostedSpecInput)
232232
// object. The Cluster object has special processing for the paused field during the move to
233233
// avoid having clusterctl as the manager of the field.
234234
log.Logf("Ensure clusterctl does not take ownership on any fields on the self-hosted cluster")
235-
selfHostedCluster := framework.GetClusterByName(ctx, framework.GetClusterByNameInput{
235+
selfHostedCluster = framework.GetClusterByName(ctx, framework.GetClusterByNameInput{
236236
Getter: selfHostedClusterProxy.GetClient(),
237237
Name: cluster.Name,
238238
Namespace: selfHostedNamespace.Name,

0 commit comments

Comments
 (0)