Skip to content

Commit afceefe

Browse files
committed
fixup! ASOAPI: add e2e test
1 parent 1c7fc80 commit afceefe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/azure_clusterproxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ func (acp *AzureClusterProxy) collectActivityLogs(ctx context.Context, namespace
244244
}
245245
// AzureName might not be specified in the CAPZ resource. GET the rg to make sure we have it.
246246
rg := &asoresourcesv1.ResourceGroup{}
247-
Expect(clusterClient.Get(ctx, client.ObjectKeyFromObject(u), rg)).To(Succeed())
247+
Expect(clusterClient.Get(ctx, client.ObjectKey{Namespace: namespace, Name: u.GetName()}, rg)).To(Succeed())
248248
groupName = rg.AzureName()
249249
break
250250
}

0 commit comments

Comments
 (0)