mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-05 05:36:50 +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)
|
||||
}
|
||||
cwf.Spec.WorkflowSpec.Arguments.Parameters = newParams
|
||||
wf.Spec.Arguments.Parameters = newParams
|
||||
}
|
||||
if opts.Labels != nil {
|
||||
cwf.ObjectMeta.Labels = *opts.Labels
|
||||
|
Reference in New Issue
Block a user