core: ProviderTransformer debug log to use abs addr always

This one address in the log output was relative, making the result
misleading.
This commit is contained in:
Martin Atkins 2018-05-25 20:15:15 -07:00
parent 05bf08b2ec
commit c8dfc944fe

View File

@ -159,7 +159,7 @@ func (t *ProviderTransformer) Transform(g *Graph) error {
providerCfg := rc.ProviderConfigAddr().Absolute(refPath)
key := providerCfg.String()
log.Printf("[DEBUG] %s references %s, requiring %s", dag.VertexName(pv), res, key)
log.Printf("[DEBUG] %s references %s, requiring %s", dag.VertexName(pv), absRes, key)
if _, exists := requested[v][key]; !exists {
requested[v][key] = ProviderRequest{
Addr: providerCfg,