From 206d47041e7c408c33393eb3163e08c249dcc347 Mon Sep 17 00:00:00 2001 From: Anna Khmelnitsky Date: Wed, 21 Jun 2023 21:32:49 +0000 Subject: [PATCH] Fix linter issues Signed-off-by: Anna Khmelnitsky --- nsxt/data_source_nsxt_policy_tier1_gateway.go | 1 + nsxt/resource_nsxt_policy_tier1_gateway.go | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/nsxt/data_source_nsxt_policy_tier1_gateway.go b/nsxt/data_source_nsxt_policy_tier1_gateway.go index dc71aa43d..ad0f66ee1 100644 --- a/nsxt/data_source_nsxt_policy_tier1_gateway.go +++ b/nsxt/data_source_nsxt_policy_tier1_gateway.go @@ -5,6 +5,7 @@ package nsxt import ( "fmt" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/vmware/vsphere-automation-sdk-go/runtime/bindings" "github.com/vmware/vsphere-automation-sdk-go/services/nsxt/model" diff --git a/nsxt/resource_nsxt_policy_tier1_gateway.go b/nsxt/resource_nsxt_policy_tier1_gateway.go index 9b730e371..2cebff6c7 100644 --- a/nsxt/resource_nsxt_policy_tier1_gateway.go +++ b/nsxt/resource_nsxt_policy_tier1_gateway.go @@ -500,9 +500,9 @@ func resourceNsxtPolicyTier1GatewayCreate(d *schema.ResourceData, m interface{}) if err != nil { return err } - + obj, err := policyTier1GatewayResourceToInfraStruct(getSessionContext(d, m), d, connector, id) - + if err != nil { return err }