Remove trailing slash when comparing dependency url with repo url

pull/1607/head
José Armesto 8 years ago
parent c340c04e21
commit 4bc0f81676

@ -226,7 +226,7 @@ func (m *Manager) hasAllRepos(deps []*chartutil.Dependency) error {
found = true
} else {
for _, repo := range repos {
if urlsAreEqual(repo.URL, dd.Repository) {
if urlsAreEqual(repo.URL, strings.TrimSuffix(dd.Repository, "/")) {
found = true
}
}

Loading…
Cancel
Save