update: updated labels for workflow templates and their versions

This commit is contained in:
Andrey Melnikov
2020-08-08 15:56:17 -07:00
parent 88d23a5ec5
commit f02e7791f7
11 changed files with 146 additions and 64 deletions

View File

@@ -556,6 +556,7 @@ func (c *Client) createWorkflowExecutionDB(namespace string, workflowExecution *
"phase": wfv1.NodePending,
"parameters": string(parametersJSON),
"is_archived": false,
"labels": workflowExecution.Labels,
}).
Suffix("RETURNING id").
RunWith(c.DB).