fix: issue where workflow template labels did not work

This commit is contained in:
Andrey Melnikov
2020-05-18 16:38:17 -07:00
parent 66760c5f44
commit 72fbff18cd
2 changed files with 3 additions and 7 deletions

View File

@@ -456,6 +456,7 @@ func (c *Client) CreateWorkflowTemplateVersion(namespace string, workflowTemplat
return nil, err
}
workflowTemplate.WorkflowTemplateVersionId = workflowTemplateVersionId
latest, err := c.getArgoWorkflowTemplate(namespace, workflowTemplate.UID, "latest")
if err != nil {
log.WithFields(log.Fields{