From 21e793714af05517cf76002e4b5ce4506afbf5d4 Mon Sep 17 00:00:00 2001 From: Chris Marget Date: Sun, 15 Dec 2024 00:48:58 -0500 Subject: [PATCH] gofumpt --- apstra/authentication/token.go | 2 +- apstra/configure_data_source.go | 1 + apstra/configure_ephemeral.go | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/apstra/authentication/token.go b/apstra/authentication/token.go index 149fd8b4..e0d10e5b 100644 --- a/apstra/authentication/token.go +++ b/apstra/authentication/token.go @@ -90,7 +90,7 @@ func (o *ApiToken) SetDefaults() { } func (o *ApiToken) SetPrivateState(ctx context.Context, ps private.State, diags *diag.Diagnostics) { - var privateEphemeralApiToken = private.EphemeralApiToken{ + privateEphemeralApiToken := private.EphemeralApiToken{ Token: o.Value.ValueString(), ExpiresAt: o.ExpiresAt, WarnThreshold: time.Duration(o.WarnSeconds.ValueInt64()) * time.Second, diff --git a/apstra/configure_data_source.go b/apstra/configure_data_source.go index 8873eb04..41bb7a93 100644 --- a/apstra/configure_data_source.go +++ b/apstra/configure_data_source.go @@ -3,6 +3,7 @@ package tfapstra import ( "context" "fmt" + "github.com/Juniper/apstra-go-sdk/apstra" "github.com/hashicorp/terraform-plugin-framework/datasource" ) diff --git a/apstra/configure_ephemeral.go b/apstra/configure_ephemeral.go index a868c90a..a2d7c310 100644 --- a/apstra/configure_ephemeral.go +++ b/apstra/configure_ephemeral.go @@ -3,6 +3,7 @@ package tfapstra import ( "context" "fmt" + "github.com/Juniper/apstra-go-sdk/apstra" "github.com/hashicorp/terraform-plugin-framework/ephemeral" )