From 5748852b5ada91990c045df747f53f860871fa78 Mon Sep 17 00:00:00 2001 From: tombuildsstuff Date: Mon, 21 Mar 2022 15:59:46 +0100 Subject: [PATCH] goimports --- internal/services/compute/linux_virtual_machine_resource.go | 3 ++- .../services/compute/windows_virtual_machine_resource.go | 3 ++- internal/services/loadbalancer/loadbalancer_resource.go | 5 +++-- internal/services/network/network_interface_resource.go | 5 +++-- .../services/network/virtual_network_gateway_resource.go | 5 +++-- internal/services/network/virtual_network_resource.go | 5 +++-- internal/services/storage/storage_account_resource.go | 5 +++-- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/internal/services/compute/linux_virtual_machine_resource.go b/internal/services/compute/linux_virtual_machine_resource.go index db8a6decfc33..c56f9c7892e1 100644 --- a/internal/services/compute/linux_virtual_machine_resource.go +++ b/internal/services/compute/linux_virtual_machine_resource.go @@ -2,12 +2,13 @@ package compute import ( "fmt" - "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "log" "strconv" "strings" "time" + "github.com/hashicorp/go-azure-helpers/resourcemanager/location" + "github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-11-01/compute" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" diff --git a/internal/services/compute/windows_virtual_machine_resource.go b/internal/services/compute/windows_virtual_machine_resource.go index a585ca6a9a3f..32c183f9adcf 100644 --- a/internal/services/compute/windows_virtual_machine_resource.go +++ b/internal/services/compute/windows_virtual_machine_resource.go @@ -2,12 +2,13 @@ package compute import ( "fmt" - "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "log" "strconv" "strings" "time" + "github.com/hashicorp/go-azure-helpers/resourcemanager/location" + "github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-11-01/compute" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" diff --git a/internal/services/loadbalancer/loadbalancer_resource.go b/internal/services/loadbalancer/loadbalancer_resource.go index dc637b20d29c..f4cce725245f 100644 --- a/internal/services/loadbalancer/loadbalancer_resource.go +++ b/internal/services/loadbalancer/loadbalancer_resource.go @@ -3,12 +3,13 @@ package loadbalancer import ( "context" "fmt" - "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" - "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "log" "strings" "time" + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" + "github.com/hashicorp/go-azure-helpers/resourcemanager/location" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" "github.com/hashicorp/terraform-provider-azurerm/internal/services/loadbalancer/validate" diff --git a/internal/services/network/network_interface_resource.go b/internal/services/network/network_interface_resource.go index ba7fc2b6b69a..cf0dae8926be 100644 --- a/internal/services/network/network_interface_resource.go +++ b/internal/services/network/network_interface_resource.go @@ -2,11 +2,12 @@ package network import ( "fmt" - "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "log" "time" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" + "github.com/hashicorp/go-azure-helpers/resourcemanager/location" + "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2021-05-01/network" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" diff --git a/internal/services/network/virtual_network_gateway_resource.go b/internal/services/network/virtual_network_gateway_resource.go index 23b49ad0d2c9..f3a6364410f8 100644 --- a/internal/services/network/virtual_network_gateway_resource.go +++ b/internal/services/network/virtual_network_gateway_resource.go @@ -3,11 +3,12 @@ package network import ( "bytes" "fmt" - "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "log" "time" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" + "github.com/hashicorp/go-azure-helpers/resourcemanager/location" + "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2021-05-01/network" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" diff --git a/internal/services/network/virtual_network_resource.go b/internal/services/network/virtual_network_resource.go index 830cd823378a..0d6363d6042d 100644 --- a/internal/services/network/virtual_network_resource.go +++ b/internal/services/network/virtual_network_resource.go @@ -4,12 +4,13 @@ import ( "bytes" "context" "fmt" - "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "log" "net/http" "time" + "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" + "github.com/hashicorp/go-azure-helpers/resourcemanager/location" + "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2021-05-01/network" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" diff --git a/internal/services/storage/storage_account_resource.go b/internal/services/storage/storage_account_resource.go index e42a0bc34953..d58700499433 100644 --- a/internal/services/storage/storage_account_resource.go +++ b/internal/services/storage/storage_account_resource.go @@ -3,13 +3,14 @@ package storage import ( "context" "fmt" - "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" - "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "log" "net/http" "strings" "time" + "github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones" + "github.com/hashicorp/go-azure-helpers/resourcemanager/location" + "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-04-01/storage" azautorest "github.com/Azure/go-autorest/autorest" autorestAzure "github.com/Azure/go-autorest/autorest/azure"