From 142ce15ed66f7949c4c55bc4edd1cc0981a8a504 Mon Sep 17 00:00:00 2001 From: James Bardin Date: Thu, 23 Jun 2022 11:47:01 -0400 Subject: [PATCH] remove unused field and extra assignment --- internal/terraform/context_import.go | 1 - internal/terraform/graph_builder_plan.go | 4 ---- 2 files changed, 5 deletions(-) diff --git a/internal/terraform/context_import.go b/internal/terraform/context_import.go index 91ea372ba7b0..ce5df08f5fb3 100644 --- a/internal/terraform/context_import.go +++ b/internal/terraform/context_import.go @@ -62,7 +62,6 @@ func (c *Context) Import(config *configs.Config, prevRunState *states.State, opt State: state, RootVariableValues: variables, Plugins: c.plugins, - skipRefresh: true, Operation: walkImport, } diff --git a/internal/terraform/graph_builder_plan.go b/internal/terraform/graph_builder_plan.go index 88b6cb7cb207..b3a8bf5abde4 100644 --- a/internal/terraform/graph_builder_plan.go +++ b/internal/terraform/graph_builder_plan.go @@ -54,10 +54,6 @@ type PlanGraphBuilder struct { // where we _only_ do the refresh step.) skipPlanChanges bool - // CustomConcrete can be set to customize the node types created - // for various parts of the plan. This is useful in order to customize - // the plan behavior. - CustomConcrete bool ConcreteProvider ConcreteProviderNodeFunc ConcreteResource ConcreteResourceNodeFunc ConcreteResourceInstance ConcreteResourceInstanceNodeFunc