aboutsummaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel/containers.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/containers.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/containers.go')
-rw-r--r--pkg/domain/infra/tunnel/containers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/tunnel/containers.go b/pkg/domain/infra/tunnel/containers.go
index 3f78ba7bc..5b5a1912c 100644
--- a/pkg/domain/infra/tunnel/containers.go
+++ b/pkg/domain/infra/tunnel/containers.go
@@ -228,7 +228,7 @@ func (ic *ContainerEngine) ContainerInspect(ctx context.Context, namesOrIds []st
for _, name := range namesOrIds {
inspect, err := containers.Inspect(ic.ClientCtx, name, options)
if err != nil {
- errModel, ok := err.(errorhandling.ErrorModel)
+ errModel, ok := err.(*errorhandling.ErrorModel)
if !ok {
return nil, nil, err
}