1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-05 17:00:20 +00:00

go mod and vendor update

This commit is contained in:
galal-hussein
2019-08-20 22:49:24 +02:00
committed by Alena Prokharchyk
parent 9937142abb
commit 26e2979d20
63 changed files with 149 additions and 10301 deletions

View File

@@ -205,7 +205,7 @@ func Parse(s string) (Reference, error) {
var repo repository
nameMatch := anchoredNameRegexp.FindStringSubmatch(matches[1])
if nameMatch != nil && len(nameMatch) == 3 {
if len(nameMatch) == 3 {
repo.domain = nameMatch[1]
repo.path = nameMatch[2]
} else {