From 92db9b880576abab657058da6314a17e272b6286 Mon Sep 17 00:00:00 2001 From: Daniel Schmidt Date: Thu, 24 Jul 2025 10:47:45 +0200 Subject: [PATCH] remove extra newlines --- internal/configs/config_test.go | 1 - internal/terraform/hook.go | 4 +--- internal/terraform/node_action_apply.go | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/internal/configs/config_test.go b/internal/configs/config_test.go index 06d22fd3f6..4491aa2b8b 100644 --- a/internal/configs/config_test.go +++ b/internal/configs/config_test.go @@ -35,7 +35,6 @@ func TestConfigProviderTypes(t *testing.T) { } got = cfg.ProviderTypes() - want := []addrs.Provider{ addrs.NewDefaultProvider("aws"), addrs.NewDefaultProvider("external"), diff --git a/internal/terraform/hook.go b/internal/terraform/hook.go index 72b44b7afb..1217372f5b 100644 --- a/internal/terraform/hook.go +++ b/internal/terraform/hook.go @@ -40,9 +40,7 @@ type HookActionIdentity struct { // If run as part of a plan / apply we also have the values below // (if CLI triggered they are not applicable) - - TriggeringResourceAddr addrs.AbsResourceInstance - + TriggeringResourceAddr addrs.AbsResourceInstance ActionTriggerBlockIndex int ActionsListIndex int } diff --git a/internal/terraform/node_action_apply.go b/internal/terraform/node_action_apply.go index 7eaa060bba..3d8c36fb6e 100644 --- a/internal/terraform/node_action_apply.go +++ b/internal/terraform/node_action_apply.go @@ -147,7 +147,6 @@ func (n *nodeActionApply) References() []*addrs.Reference { // We reference each action instance that we are going to execute. for _, invocation := range n.ActionInvocations { - // TODO: Think about how to get a source range refs = append(refs, &addrs.Reference{ Subject: invocation.Addr.Action, })