summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel/network.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-01-13 13:29:24 -0500
committerGitHub <noreply@github.com>2021-01-13 13:29:24 -0500
commit2b0cf7728d4cd59d19821a1324a8ac2dcd7d3cac (patch)
treeb681487112bcfb24d8d7b08b2cfe4dfd39addd24 /pkg/domain/infra/tunnel/network.go
parent9473dda87c10513527bb083719d642d493b6b356 (diff)
parent827f6c9cb01929a7c36a465d633c82d384ed7ddb (diff)
downloadpodman-2b0cf7728d4cd59d19821a1324a8ac2dcd7d3cac.tar.gz
podman-2b0cf7728d4cd59d19821a1324a8ac2dcd7d3cac.tar.bz2
podman-2b0cf7728d4cd59d19821a1324a8ac2dcd7d3cac.zip
Merge pull request #8954 from baude/reducebindingsize
Reduce general binding binary size
Diffstat (limited to 'pkg/domain/infra/tunnel/network.go')
-rw-r--r--pkg/domain/infra/tunnel/network.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/domain/infra/tunnel/network.go b/pkg/domain/infra/tunnel/network.go
index 9afb8db02..d4e827580 100644
--- a/pkg/domain/infra/tunnel/network.go
+++ b/pkg/domain/infra/tunnel/network.go
@@ -5,6 +5,7 @@ import (
"github.com/containers/podman/v2/pkg/bindings/network"
"github.com/containers/podman/v2/pkg/domain/entities"
+ "github.com/containers/podman/v2/pkg/errorhandling"
"github.com/pkg/errors"
)
@@ -22,7 +23,7 @@ func (ic *ContainerEngine) NetworkInspect(ctx context.Context, namesOrIds []stri
for _, name := range namesOrIds {
report, err := network.Inspect(ic.ClientCtx, name, options)
if err != nil {
- errModel, ok := err.(entities.ErrorModel)
+ errModel, ok := err.(errorhandling.ErrorModel)
if !ok {
return nil, nil, err
}