From 690d70e9fad744ebe24e8a4f674134f43372af61 Mon Sep 17 00:00:00 2001 From: Haroon-Dweikat-Ntx Date: Thu, 19 Dec 2024 15:55:38 +0200 Subject: [PATCH] lint fixes --- nutanix/services/prismv2/resource_nutanix_deploy_pc_v2.go | 1 + .../services/prismv2/resource_nutanix_pc_registration_v2.go | 1 + .../prismv2/resource_nutanix_unregister_cluster_v2.go | 4 +++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/nutanix/services/prismv2/resource_nutanix_deploy_pc_v2.go b/nutanix/services/prismv2/resource_nutanix_deploy_pc_v2.go index c917bb31..88f6acb7 100644 --- a/nutanix/services/prismv2/resource_nutanix_deploy_pc_v2.go +++ b/nutanix/services/prismv2/resource_nutanix_deploy_pc_v2.go @@ -14,6 +14,7 @@ import ( commonConfig "github.com/nutanix/ntnx-api-golang-clients/prism-go-client/v4/models/common/v1/config" "github.com/nutanix/ntnx-api-golang-clients/prism-go-client/v4/models/prism/v4/config" vmmConfig "github.com/nutanix/ntnx-api-golang-clients/prism-go-client/v4/models/vmm/v4/ahv/config" + conns "github.com/terraform-providers/terraform-provider-nutanix/nutanix" "github.com/terraform-providers/terraform-provider-nutanix/nutanix/sdks/v4/prism" "github.com/terraform-providers/terraform-provider-nutanix/utils" diff --git a/nutanix/services/prismv2/resource_nutanix_pc_registration_v2.go b/nutanix/services/prismv2/resource_nutanix_pc_registration_v2.go index 81b2991e..bd115fb9 100644 --- a/nutanix/services/prismv2/resource_nutanix_pc_registration_v2.go +++ b/nutanix/services/prismv2/resource_nutanix_pc_registration_v2.go @@ -12,6 +12,7 @@ import ( prismCommon "github.com/nutanix/ntnx-api-golang-clients/prism-go-client/v4/models/common/v1/config" prismConfig "github.com/nutanix/ntnx-api-golang-clients/prism-go-client/v4/models/prism/v4/config" prismManagment "github.com/nutanix/ntnx-api-golang-clients/prism-go-client/v4/models/prism/v4/management" + conns "github.com/terraform-providers/terraform-provider-nutanix/nutanix" "github.com/terraform-providers/terraform-provider-nutanix/utils" ) diff --git a/nutanix/services/prismv2/resource_nutanix_unregister_cluster_v2.go b/nutanix/services/prismv2/resource_nutanix_unregister_cluster_v2.go index 7c2ce024..324c80d7 100644 --- a/nutanix/services/prismv2/resource_nutanix_unregister_cluster_v2.go +++ b/nutanix/services/prismv2/resource_nutanix_unregister_cluster_v2.go @@ -3,14 +3,16 @@ package prismv2 import ( "context" "encoding/json" + "log" + "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/nutanix/ntnx-api-golang-clients/prism-go-client/v4/models/prism/v4/config" "github.com/nutanix/ntnx-api-golang-clients/prism-go-client/v4/models/prism/v4/management" + conns "github.com/terraform-providers/terraform-provider-nutanix/nutanix" "github.com/terraform-providers/terraform-provider-nutanix/utils" - "log" ) func ResourceNutanixUnregisterClusterV2() *schema.Resource {