Skip to content

Commit 49c139e

Browse files
justinsbrifelpet
andauthored
Update upup/pkg/fi/cloudup/awstasks/autoscalinggroup.go
Co-authored-by: Peter Rifel <[email protected]>
1 parent 0e4de09 commit 49c139e

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Diff for: upup/pkg/fi/cloudup/awstasks/autoscalinggroup.go

-10
Original file line numberDiff line numberDiff line change
@@ -318,16 +318,6 @@ func (e *AutoscalingGroup) Find(c *fi.CloudupContext) (*AutoscalingGroup, error)
318318
actual.InstanceProtection = g.NewInstancesProtectedFromScaleIn
319319
}
320320

321-
// // Populate the warmPool, by looking at the tasks
322-
// for _, task := range c.AllTasks() {
323-
// switch task := task.(type) {
324-
// case *WarmPool:
325-
// if task.AutoscalingGroup != nil && fi.ValueOf(task.AutoscalingGroup.Name) == fi.ValueOf(e.Name) {
326-
// e.warmPool = task
327-
// }
328-
// }
329-
// }
330-
331321
return actual, nil
332322
}
333323

0 commit comments

Comments
 (0)