update: updated logic to filter workflow templates by labels. It now supports AND so you can filter by multiple labels

This commit is contained in:
Andrey Melnikov
2020-08-09 21:04:50 -07:00
parent 8586639a6c
commit 3c3a514983
3 changed files with 19 additions and 9 deletions

View File

@@ -136,7 +136,6 @@ func (s *WorkflowTemplateServer) CloneWorkflowTemplate(ctx context.Context, req
}
//Verify the cloned template name doesn't exist already
templatesCount, err := client.CountWorkflowTemplatesByName(req.Name, req.Name, nil)
if err != nil {
return nil, err