From 01da7b4f7f40129d4345d4127fea129e44737bd2 Mon Sep 17 00:00:00 2001 From: Pam Selle <204372+pselle@users.noreply.github.com> Date: Fri, 22 Nov 2019 15:34:44 -0500 Subject: [PATCH] Tested and confirmed we cannot delete this, so removed TODO --- states/module.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/states/module.go b/states/module.go index fa9e71993..b172693ee 100644 --- a/states/module.go +++ b/states/module.go @@ -109,8 +109,6 @@ func (ms *Module) SetResourceInstanceCurrent(addr addrs.ResourceInstance, obj *R return } // 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 if !is.HasObjects() { // If we have no objects at all then we'll clean up.