mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-21 12:39:48 +08:00
Removing unused labels code.
This commit is contained in:
@@ -339,11 +339,6 @@ func (c *Client) createCronWorkflow(namespace string, workflowTemplateUid string
|
||||
//if err = c.injectAutomatedFields(namespace, cwf.Spec.WorkflowSpec, opts); err != nil {
|
||||
// return nil, err
|
||||
//}
|
||||
//todo move earlier
|
||||
var cwfLabels map[string]string
|
||||
cwfLabels = make(map[string]string)
|
||||
cwfLabels["workflowTemplateUid"] = workflowTemplateUid
|
||||
//cwf.Labels
|
||||
|
||||
createdCronWorkflow, err = c.ArgoprojV1alpha1().CronWorkflows(namespace).Create(cwf)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user