From 11d5e22e48b131594c0064c465388f4d5ebc30c6 Mon Sep 17 00:00:00 2001 From: willie-yao Date: Wed, 8 Nov 2023 22:35:54 +0000 Subject: [PATCH] Fix unit test --- azure/services/bastionhosts/spec_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure/services/bastionhosts/spec_test.go b/azure/services/bastionhosts/spec_test.go index acbffc1fecd4..2d8a99cc457f 100644 --- a/azure/services/bastionhosts/spec_test.go +++ b/azure/services/bastionhosts/spec_test.go @@ -38,7 +38,7 @@ var ( DnsName: ptr.To(fakeAzureBastionSpec1.Name + "-bastion"), Sku: &asonetworkv1.Sku{Name: &fakeSKU}, Owner: &genruntime.KnownResourceReference{ - Name: fakeAzureBastionSpec1.ClusterName, + Name: fakeAzureBastionSpec1.ResourceGroup, }, Tags: fakeBastionHostTags, EnableTunneling: ptr.To(false),