Commit c0a20840 authored by Daishan Peng's avatar Daishan Peng Committed by Craig Jellick
Browse files

fix regression on catalog

parent 287983ca
Showing with 1 addition and 1 deletion
+1 -1
......@@ -119,7 +119,7 @@ func (m *Manager) createTemplate(template v3.Template, catalog *v3.Catalog, tagM
}
func (m *Manager) getTemplateMap(catalogName string) (map[string]*v3.Template, error) {
r, _ := labels.NewRequirement(catalogName, selection.Equals, []string{catalogName})
r, _ := labels.NewRequirement(CatalogNameLabel, selection.Equals, []string{catalogName})
templateList, err := m.templateLister.List("", labels.NewSelector().Add(*r))
if err != nil {
return nil, err
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment