Browse Source

updated types.CodeDistribute

pull/439/head
tzwang 8 months ago
parent
commit
1682755098
2 changed files with 5 additions and 5 deletions
  1. +1
    -1
      desc/schedule/pcm-schedule.api
  2. +4
    -4
      internal/types/types.go

+ 1
- 1
desc/schedule/pcm-schedule.api View File

@@ -205,7 +205,7 @@ type (
DataName string `json:"dataName,optional"`
PackageID int64 `json:"packageID"`
Output string `json:"output"`
Clusters *ClusterScheduled `json:"cluster"`
Clusters []*ClusterScheduled `json:"clusters"`
}

ImageDistribute {


+ 4
- 4
internal/types/types.go View File

@@ -5973,10 +5973,10 @@ type DatasetDistribute struct {
}

type CodeDistribute struct {
DataName string `json:"dataName,optional"`
PackageID int64 `json:"packageID"`
Output string `json:"output"`
Clusters *ClusterScheduled `json:"cluster"`
DataName string `json:"dataName,optional"`
PackageID int64 `json:"packageID"`
Output string `json:"output"`
Clusters []*ClusterScheduled `json:"clusters"`
}

type ImageDistribute struct {


Loading…
Cancel
Save