This commit is contained in:
Pam Selle 2019-11-22 13:59:12 -05:00
parent 9482bb8eb0
commit ca9da51516
3 changed files with 0 additions and 7 deletions

View File

@ -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
}

View File

@ -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)
}

View File

@ -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: