From ca9da51516809c9044d307fecd7839d9f5afc61f Mon Sep 17 00:00:00 2001 From: Pam Selle <204372+pselle@users.noreply.github.com> Date: Fri, 22 Nov 2019 13:59:12 -0500 Subject: [PATCH] Cleanup --- states/resource.go | 3 --- states/sync.go | 2 -- terraform/evaluate.go | 2 -- 3 files changed, 7 deletions(-) diff --git a/states/resource.go b/states/resource.go index 65ddd7983..7f58543c4 100644 --- a/states/resource.go +++ b/states/resource.go @@ -180,13 +180,10 @@ const ( func eachModeForInstanceKey(key addrs.InstanceKey) EachMode { switch key.(type) { case addrs.IntKey: - fmt.Println("is int key") return EachList case addrs.StringKey: - fmt.Println("is string key") return EachMap default: - fmt.Println(key) if key == addrs.NoKey { return NoEach } diff --git a/states/sync.go b/states/sync.go index 7bf44cd7a..47fb16d6e 100644 --- a/states/sync.go +++ b/states/sync.go @@ -1,7 +1,6 @@ package states import ( - "fmt" "log" "sync" @@ -191,7 +190,6 @@ func (s *SyncState) SetResourceMeta(addr addrs.AbsResource, eachMode EachMode, p defer s.lock.Unlock() ms := s.state.EnsureModule(addr.Module) - fmt.Println("called from syncstate") ms.SetResourceMeta(addr.Resource, eachMode, provider) } diff --git a/terraform/evaluate.go b/terraform/evaluate.go index a70382442..de1fd9a05 100644 --- a/terraform/evaluate.go +++ b/terraform/evaluate.go @@ -577,8 +577,6 @@ func (d *evaluationStateData) getResourceInstancesAll(addr addrs.Resource, rng t }) return cty.DynamicVal, diags } - fmt.Println(addr.String(), "in getResourceAll") - fmt.Println(rs.EachMode) switch rs.EachMode { case states.NoEach: