remove old refactoring comments

pull/35558/head
James Bardin 2 years ago
parent d2b4ba5b78
commit 2ffbd0eb4e

@ -154,7 +154,7 @@ func (c *GraphCommand) Run(args []string) int {
// here, though perhaps one day this should be an error.
if lr.Plan == nil {
plan = &plans.Plan{
Changes: &plans.ChangesSrc{}, //plans.NewChanges(),
Changes: plans.NewChangesSrc(),
UIMode: plans.NormalMode,
PriorState: lr.InputState,
PrevRunState: lr.InputState,

@ -107,12 +107,10 @@ func (c *Component) ForModulesRuntime() (*plans.Plan, error) {
ProviderFunctionResults: c.PlannedFunctionResults,
}
// sc := changes.SyncWrapper()
for _, elem := range c.ResourceInstancePlanned.Elems {
changeSrc := elem.Value
if changeSrc != nil {
changes.Resources = append(changes.Resources, changeSrc)
// sc.AppendResourceInstanceChange(changeSrc)
}
}

Loading…
Cancel
Save