add symbols "@-" in repoExp

This commit is contained in:
NastasiaS
2018-12-14 12:58:51 +03:00
parent 146dbd506e
commit f3e4f116d7
+1 -1
View File
@@ -162,7 +162,7 @@ func setHelmCommand(p *Plugin) {
}
var repoExp = regexp.MustCompile(`^(?P<name>[\w-]+)=(?P<url>(http|https)://[\w-./:]+)`)
var repoExp = regexp.MustCompile(`^(?P<name>[\w-]+)=(?P<url>(http|https)://[\w-./:@-]+)`)
// parseRepo returns map of regex capture groups (name, url)
func parseRepo(repo string) (map[string]string, error) {