Tested and confirmed we cannot delete this, so removed TODO

This commit is contained in:
Pam Selle 2019-11-22 15:34:44 -05:00
parent 87fdcd0064
commit 01da7b4f7f
1 changed files with 0 additions and 2 deletions

View File

@ -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.