terraform: log starting graph walk outside of the goroutine
This is so ordering makes a bit more sense reliably.
This commit is contained in:
parent
a0382ccbdd
commit
f8e35ecb2f
|
@ -739,9 +739,9 @@ func (c *Context) walk(
|
||||||
|
|
||||||
// Kick off the shadow walk. This will block on any operations
|
// Kick off the shadow walk. This will block on any operations
|
||||||
// on the real walk so it is fine to start first.
|
// on the real walk so it is fine to start first.
|
||||||
|
log.Printf("[INFO] Starting shadow graph walk: %s", operation.String())
|
||||||
shadowCh := make(chan error)
|
shadowCh := make(chan error)
|
||||||
go func() {
|
go func() {
|
||||||
log.Printf("[INFO] Starting shadow graph walk: %s", operation.String())
|
|
||||||
shadowCh <- shadow.Walk(shadowWalker)
|
shadowCh <- shadow.Walk(shadowWalker)
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue