mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
bump containers/image to v5.0.0, buildah to v1.11.4
Move to containers/image v5 and containers/buildah to v1.11.4. Replace an equality check with a type assertion when checking for a docker.ErrUnauthorizedForCredentials in `podman login`. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
This commit is contained in:
3
vendor/github.com/fsouza/go-dockerclient/system.go
generated
vendored
3
vendor/github.com/fsouza/go-dockerclient/system.go
generated
vendored
@ -3,6 +3,7 @@ package docker
|
||||
import (
|
||||
"context"
|
||||
"encoding/json"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// VolumeUsageData represents usage data from the docker system api
|
||||
@ -59,7 +60,7 @@ type DiskUsageOptions struct {
|
||||
// More Info Here https://dockr.ly/2PNzQyO
|
||||
func (c *Client) DiskUsage(opts DiskUsageOptions) (*DiskUsage, error) {
|
||||
path := "/system/df"
|
||||
resp, err := c.do("GET", path, doOptions{context: opts.Context})
|
||||
resp, err := c.do(http.MethodGet, path, doOptions{context: opts.Context})
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user