summaryrefslogtreecommitdiff
path: root/vendor/github.com/docker/distribution/reference/reference.go
diff options
context:
space:
mode:
authortomsweeneyredhat <tsweeney@redhat.com>2022-02-09 15:54:48 -0500
committertomsweeneyredhat <tsweeney@redhat.com>2022-02-09 15:54:55 -0500
commit345413540aef90e43635a3f2f7a72e237fa90787 (patch)
treeb3249da09f7a5f7f98dce07a82fa2d83695baabe /vendor/github.com/docker/distribution/reference/reference.go
parent5b2d96fc29c17253e3ddd0e18ce5f71710b83658 (diff)
downloadpodman-345413540aef90e43635a3f2f7a72e237fa90787.tar.gz
podman-345413540aef90e43635a3f2f7a72e237fa90787.tar.bz2
podman-345413540aef90e43635a3f2f7a72e237fa90787.zip
[v4.0] Bump c/common to v0.47.4
As the title says. Bumping c/common in preparation of the v4.0 release. Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
Diffstat (limited to 'vendor/github.com/docker/distribution/reference/reference.go')
-rw-r--r--vendor/github.com/docker/distribution/reference/reference.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/docker/distribution/reference/reference.go b/vendor/github.com/docker/distribution/reference/reference.go
index 2f66cca87..8c0c23b2f 100644
--- a/vendor/github.com/docker/distribution/reference/reference.go
+++ b/vendor/github.com/docker/distribution/reference/reference.go
@@ -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 {