fix: cron workflow parameters did not update

This commit is contained in:
Andrey Melnikov
2020-05-02 16:38:24 -07:00
parent 5c1c64cac9
commit 19a622e37a

View File

@@ -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