mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-05 13:46:51 +08:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user