move getCronWorkflowColumns to types.go

This commit is contained in:
rushtehrani
2020-05-22 16:01:17 -07:00
parent e405ccdf04
commit 617806011c
2 changed files with 12 additions and 10 deletions

View File

@@ -629,13 +629,3 @@ func (c *Client) GetCronWorkflowStatisticsForTemplates(workflowTemplates ...*Wor
return
}
func getCronWorkflowColumns(extraColumns ...string) []string {
results := []string{"cw.id", "cw.created_at", "cw.uid", "cw.name", "cw.workflow_template_version_id", "cw.manifest", "cw.namespace"}
for _, str := range extraColumns {
results = append(results, str)
}
return results
}