Tested and confirmed we cannot delete this, so removed TODO
This commit is contained in:
parent
87fdcd0064
commit
01da7b4f7f
|
@ -109,8 +109,6 @@ func (ms *Module) SetResourceInstanceCurrent(addr addrs.ResourceInstance, obj *R
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// if we have an instance, update the current
|
// if we have an instance, update the current
|
||||||
// TODO: this setting happens below as well, so possibly this can be removed,
|
|
||||||
// but not changing it right now as we might return in the block below
|
|
||||||
is.Current = obj
|
is.Current = obj
|
||||||
if !is.HasObjects() {
|
if !is.HasObjects() {
|
||||||
// If we have no objects at all then we'll clean up.
|
// If we have no objects at all then we'll clean up.
|
||||||
|
|
Loading…
Reference in New Issue