fix(plan): make stop operation formatting consistent and do not count it as removal in summary

This commit is contained in:
Pasha Sviderski
2026-11-03 12:54:57 +10:00
parent ff6ac45e1e
commit 6c7ddeb82f
8 changed files with 48 additions and 5 deletions
+1 -1
View File
@@ -195,8 +195,8 @@ func (sp *ServicePlan) FormatSummary() string {
machines[o.MachineID] = struct{}{}
removeCount++
case *operation.StopContainerOperation:
// Stop operations aren't counted because a later operation in the plan removes the stopped container.
machines[o.MachineID] = struct{}{}
removeCount++
}
}