Skip to content

Commit 4454558

Browse files
committed
fix function naming
1 parent 4c6b9e5 commit 4454558

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

e2e/aks_model.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ func getBaseClusterModel(clusterName, location, k8sSystemPoolSKU string) *armcon
182182
}
183183
}
184184

185-
func getFirewallRules(ctx context.Context, location, firewallSubnetID, publicIPID string) *armnetwork.AzureFirewall {
185+
func getFirewall(ctx context.Context, location, firewallSubnetID, publicIPID string) *armnetwork.AzureFirewall {
186186
var (
187187
natRuleCollections []*armnetwork.AzureFirewallNatRuleCollection
188188
netRuleCollections []*armnetwork.AzureFirewallNetworkRuleCollection
@@ -328,7 +328,7 @@ func addFirewallRules(
328328
logf(ctx, "Created public IP with ID: %s", publicIPID)
329329

330330
firewallName := "abe2e-fw"
331-
firewall := getFirewallRules(ctx, location, firewallSubnetID, publicIPID)
331+
firewall := getFirewall(ctx, location, firewallSubnetID, publicIPID)
332332
fwPoller, err := config.Azure.AzureFirewall.BeginCreateOrUpdate(ctx, *clusterModel.Properties.NodeResourceGroup, firewallName, *firewall, nil)
333333
if err != nil {
334334
return fmt.Errorf("failed to start Firewall creation: %w", err)

0 commit comments

Comments
 (0)