新增提交任务接口增加非必填
Former-commit-id: afa3fa42e127a01c98d3a3f105d06eab7fac8dea
This commit is contained in:
parent
066250ff72
commit
fdb2cda61a
|
@ -177,8 +177,8 @@ type deleteTaskReq {
|
|||
type commitTaskReq{
|
||||
Name string `json:"name"`
|
||||
NsID string `json:"nsID"`
|
||||
Replicas int64 `json:"replicas"`
|
||||
MatchLabels map[string]string `json:"matchLabels"`
|
||||
Replicas int64 `json:"replicas,optional"`
|
||||
MatchLabels map[string]string `json:"matchLabels,optional"`
|
||||
YamlList []string `json:"yamlList"`
|
||||
}
|
||||
|
||||
|
|
|
@ -159,8 +159,8 @@ type DeleteTaskReq struct {
|
|||
type CommitTaskReq struct {
|
||||
Name string `json:"name"`
|
||||
NsID string `json:"nsID"`
|
||||
Replicas int64 `json:"replicas"`
|
||||
MatchLabels map[string]string `json:"matchLabels"`
|
||||
Replicas int64 `json:"replicas,optional"`
|
||||
MatchLabels map[string]string `json:"matchLabels,optional"`
|
||||
YamlList []string `json:"yamlList"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue