Skip to content

Commit

Permalink
Removed testing comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy.McCullough committed Nov 15, 2021
1 parent 214dda2 commit e3d2bb5
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,6 @@ func TestAccVirtualDesktopHostPoolRegInfo_update(t *testing.T) {

func (VirtualDesktopHostPoolRegistrationInfoResource) Exists(ctx context.Context, clients *clients.Client, state *pluginsdk.InstanceState) (*bool, error) {

//resp, err := clients.Network.VnetClient.Get(ctx, id.ResourceGroup, id.VirtualNetworkName, "")
//if err != nil {
// return nil, fmt.Errorf("reading %s: %+v", *id, err)
//}

//exists := resp.ID != nil && resp.VirtualNetworkPropertiesFormat != nil && resp.VirtualNetworkPropertiesFormat.DhcpOptions != nil &&
// resp.VirtualNetworkPropertiesFormat.DhcpOptions.DNSServers != nil && len(*resp.VirtualNetworkPropertiesFormat.DhcpOptions.DNSServers) > 0

//return utils.Bool(exists), nil

id, err := parse.HostPoolRegistrationInfoID(state.ID)
if err != nil {
return nil, err
Expand Down

0 comments on commit e3d2bb5

Please sign in to comment.