terraform: clarify commment
This commit is contained in:
parent
39abec4970
commit
4033e90474
|
@ -355,6 +355,10 @@ func providerVertexMap(g *Graph) map[string]dag.Vertex {
|
||||||
for _, v := range g.Vertices() {
|
for _, v := range g.Vertices() {
|
||||||
if pv, ok := v.(GraphNodeProvider); ok {
|
if pv, ok := v.(GraphNodeProvider); ok {
|
||||||
key := pv.ProviderName()
|
key := pv.ProviderName()
|
||||||
|
|
||||||
|
// This special case is because the new world view of providers
|
||||||
|
// is that they should return only their pure name (not the full
|
||||||
|
// module path with ProviderName). Working towards this future.
|
||||||
if _, ok := v.(*NodeApplyableProvider); ok {
|
if _, ok := v.(*NodeApplyableProvider); ok {
|
||||||
key = providerMapKey(pv.ProviderName(), v)
|
key = providerMapKey(pv.ProviderName(), v)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue