Skip to content

Commit

Permalink
fix: incorrect dag walk log messages (#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
SparkYuan committed Sep 5, 2023
1 parent de90d96 commit eba983b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions third_party/terraform/dag/walk.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ func (w *Walker) walkVertex(v Vertex, info *walkerVertex) {
if depsSuccess {
diags = w.Callback(v)
} else {
log.Info("[TRACE] dag/walk: upstream of %q errored, so skipping", VertexName(v))
log.Infof("[TRACE] dag/walk: upstream of %s errored, so skipping", VertexName(v))
// This won't be displayed to the user because we'll set upstreamFailed,
// but we need to ensure there's at least one error in here so that
// the failures will cascade downstream.
Expand Down Expand Up @@ -426,8 +426,7 @@ func (w *Walker) waitDeps(
return

case <-time.After(time.Second * 5):
log.Info("[TRACE] dag/walk: vertex %q is waiting for %q",
VertexName(v), VertexName(dep))
log.Infof("[TRACE] dag/walk: vertex %s is waiting for %s", VertexName(v), VertexName(dep))
}
}
}
Expand Down

0 comments on commit eba983b

Please sign in to comment.