refactor: format compose deployment plan with style, display target context

This commit is contained in:
Pasha Sviderski committed 2026-03-18 21:26:22 +10:00
1 parent 68661e57c3
commit 0f4c211002
8 files changed
+399 -61

No files matched your search

+3 -1
View File
@@ -405,7 +405,9 @@ func determineUpdateOrder(oldContainer api.ServiceContainer, spec api.ServiceSpe
// newEmptyServicePlan creates a new empty plan for a service deployment with initialised service ID and name.
func newEmptyServicePlan(svc *api.Service, spec api.ServiceSpec) (ServicePlan, error) {
var plan ServicePlan
plan := ServicePlan{
Spec: spec,
}
// Generate a new service ID for the initial service deployment if it doesn't exist yet.
if svc != nil {