mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-25 06:20:21 +08:00
fix: cron workflow parameters did not update
This commit is contained in:
@@ -433,6 +433,7 @@ func (c *Client) updateCronWorkflow(namespace string, name string, workflowTempl
|
|||||||
newParams = append(newParams, param)
|
newParams = append(newParams, param)
|
||||||
}
|
}
|
||||||
cwf.Spec.WorkflowSpec.Arguments.Parameters = newParams
|
cwf.Spec.WorkflowSpec.Arguments.Parameters = newParams
|
||||||
|
wf.Spec.Arguments.Parameters = newParams
|
||||||
}
|
}
|
||||||
if opts.Labels != nil {
|
if opts.Labels != nil {
|
||||||
cwf.ObjectMeta.Labels = *opts.Labels
|
cwf.ObjectMeta.Labels = *opts.Labels
|
||||||
|
|||||||
Reference in New Issue
Block a user