Skip to content

Commit

Permalink
fix build.
Browse files Browse the repository at this point in the history
Signed-off-by: Preslav <preslav@mondoo.com>
  • Loading branch information
preslavgerchev committed Sep 24, 2024
1 parent 7d975de commit a4ec758
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions providers/azure/resources/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,7 @@ func (a *mqlAzureSubscriptionNetworkServiceApplicationGateway) wafConfiguration(
if err != nil {
return nil, err
}
client, err := networkv6.NewClientFactory(resourceID.SubscriptionID, token, &arm.ClientOptions{
client, err := network.NewClientFactory(resourceID.SubscriptionID, token, &arm.ClientOptions{
ClientOptions: conn.ClientOptions(),
})
if err != nil {
Expand All @@ -1088,7 +1088,7 @@ func (a *mqlAzureSubscriptionNetworkServiceApplicationGateway) wafConfiguration(
c := client.NewApplicationGatewayWafDynamicManifestsClient()

res := []interface{}{}
pager := c.NewGetPager(a.Location.Data, &networkv6.ApplicationGatewayWafDynamicManifestsClientGetOptions{})
pager := c.NewGetPager(a.Location.Data, &network.ApplicationGatewayWafDynamicManifestsClientGetOptions{})
for pager.More() {
page, err := pager.NextPage(ctx)
if err != nil {
Expand Down

0 comments on commit a4ec758

Please sign in to comment.