summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel/volumes.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-11-02 16:11:28 +0100
committerGitHub <noreply@github.com>2021-11-02 16:11:28 +0100
commit0d5aef47d3b5322d8d7d876a27ff06b5eb71c97a (patch)
tree48a221e026a4039d10fa7e509b91f9cc220f0874 /pkg/domain/infra/tunnel/volumes.go
parent0686f0bb2ff22abae7ca90f1b17b32d73b8615a8 (diff)
parentf2115471ddf40123a26c87f8903cc8cf2be57980 (diff)
downloadpodman-0d5aef47d3b5322d8d7d876a27ff06b5eb71c97a.tar.gz
podman-0d5aef47d3b5322d8d7d876a27ff06b5eb71c97a.tar.bz2
podman-0d5aef47d3b5322d8d7d876a27ff06b5eb71c97a.zip
Merge pull request #12051 from machacekondra/fix_http409_errorhandling
Handle HTTP 409 error messages properly
Diffstat (limited to 'pkg/domain/infra/tunnel/volumes.go')
-rw-r--r--pkg/domain/infra/tunnel/volumes.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/tunnel/volumes.go b/pkg/domain/infra/tunnel/volumes.go
index cfd1574c3..ccb363935 100644
--- a/pkg/domain/infra/tunnel/volumes.go
+++ b/pkg/domain/infra/tunnel/volumes.go
@@ -59,7 +59,7 @@ func (ic *ContainerEngine) VolumeInspect(ctx context.Context, namesOrIds []strin
for _, id := range namesOrIds {
data, err := volumes.Inspect(ic.ClientCtx, id, nil)
if err != nil {
- errModel, ok := err.(errorhandling.ErrorModel)
+ errModel, ok := err.(*errorhandling.ErrorModel)
if !ok {
return nil, nil, err
}