Skip to content

Commit

Permalink
refactor: making the virtual networks client a pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
tombuildsstuff committed Sep 12, 2019
1 parent 39ba7a9 commit f963b05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azurerm/internal/services/privatedns/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
type Client struct {
RecordSetsClient *privatedns.RecordSetsClient
PrivateZonesClient *privatedns.PrivateZonesClient
VirtualNetworkLinksClient privatedns.VirtualNetworkLinksClient
VirtualNetworkLinksClient *privatedns.VirtualNetworkLinksClient
}

func BuildClient(o *common.ClientOptions) *Client {
Expand All @@ -24,6 +24,6 @@ func BuildClient(o *common.ClientOptions) *Client {
return &Client{
RecordSetsClient: &RecordSetsClient,
PrivateZonesClient: &PrivateZonesClient,
VirtualNetworkLinksClient: virtualNetworkLinksClient,
VirtualNetworkLinksClient: &virtualNetworkLinksClient,
}
}

0 comments on commit f963b05

Please sign in to comment.