mirror of
https://github.com/containers/skopeo.git
synced 2025-09-23 19:07:03 +00:00
Bump c/common to v0.47.4
As the title says Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
This commit is contained in:
12
vendor/github.com/docker/distribution/registry/api/v2/urls.go
generated
vendored
12
vendor/github.com/docker/distribution/registry/api/v2/urls.go
generated
vendored
@@ -252,15 +252,3 @@ func appendValuesURL(u *url.URL, values ...url.Values) *url.URL {
|
||||
u.RawQuery = merged.Encode()
|
||||
return u
|
||||
}
|
||||
|
||||
// appendValues appends the parameters to the url. Panics if the string is not
|
||||
// a url.
|
||||
func appendValues(u string, values ...url.Values) string {
|
||||
up, err := url.Parse(u)
|
||||
|
||||
if err != nil {
|
||||
panic(err) // should never happen
|
||||
}
|
||||
|
||||
return appendValuesURL(up, values...).String()
|
||||
}
|
||||
|
Reference in New Issue
Block a user