mirror of
https://github.com/mudler/luet.git
synced 2025-09-04 16:50:50 +00:00
Update vendor
This commit is contained in:
3
vendor/github.com/fsouza/go-dockerclient/distribution.go
generated
vendored
3
vendor/github.com/fsouza/go-dockerclient/distribution.go
generated
vendored
@@ -6,6 +6,7 @@ package docker
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"net/http"
|
||||
|
||||
"github.com/docker/docker/api/types/registry"
|
||||
)
|
||||
@@ -13,7 +14,7 @@ import (
|
||||
// InspectDistribution returns image digest and platform information by contacting the registry
|
||||
func (c *Client) InspectDistribution(name string) (*registry.DistributionInspect, error) {
|
||||
path := "/distribution/" + name + "/json"
|
||||
resp, err := c.do("GET", path, doOptions{})
|
||||
resp, err := c.do(http.MethodGet, path, doOptions{})
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user