Skip to content
This repository has been archived by the owner on Aug 3, 2020. It is now read-only.

Commit

Permalink
Merge pull request #88 from mrajashree/removeRefresh
Browse files Browse the repository at this point in the history
Remove refreshCatalog call from GetNewTemplateVersions
  • Loading branch information
Craig Jellick authored Nov 4, 2016
2 parents e3c2489 + f903e2c commit 724c861
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions manager/catalog_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -369,10 +369,7 @@ func GetNewTemplateVersions(path string) (model.Template, bool) {
parentPath := tokens[1]
cVersion := tokens[2]

//refresh the catalog and sync any new changes

cat := CatalogsCollection[catalogID]
cat.refreshCatalog()

templateName, templateID := ExtractTemplatePrefixAndName(parentPath)
rancherComposePathCurrent := CatalogRootDir + catalogID + "/" + templateName + "/" + templateID + "/" + cVersion
Expand Down

0 comments on commit 724c861

Please sign in to comment.