mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
refactor: format compose deployment plan with style, display target context
This commit is contained in:
1 parent
68661e57c3
commit
0f4c211002
8 files changed
+399
-61
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user