mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
fix: plan formatting for service scaling (update verb), fix image and replicas diff
This commit is contained in:
1 parent
f5a77b82b2
commit
3f95583dd4
4 files changed
+35
-29
No files matched your search
@@ -446,6 +446,7 @@ func newEmptyServicePlan(svc *api.Service, spec api.ServiceSpec) (ServicePlan, e
|
||||
plan.ServiceID = svc.ID
|
||||
plan.ServiceName = svc.Name
|
||||
} else {
|
||||
plan.IsNewService = true
|
||||
var err error
|
||||
plan.ServiceID, err = secret.NewID()
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user