upgrade go container registry to latest master

This commit is contained in:
Tejal Desai
2020-03-18 15:00:49 -07:00
parent 9f4fead7b5
commit 7b51aec5d9
1156 changed files with 193582 additions and 88804 deletions
+1 -1
View File
@@ -205,7 +205,7 @@ func Parse(s string) (Reference, error) {
var repo repository
nameMatch := anchoredNameRegexp.FindStringSubmatch(matches[1])
if len(nameMatch) == 3 {
if nameMatch != nil && len(nameMatch) == 3 {
repo.domain = nameMatch[1]
repo.path = nameMatch[2]
} else {