diff --git a/azure/services/bastionhosts/spec_test.go b/azure/services/bastionhosts/spec_test.go index acbffc1fecd..2d8a99cc457 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),