summaryrefslogtreecommitdiff
path: root/libpod/container.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-11-28 08:18:24 -0800
committerGitHub <noreply@github.com>2018-11-28 08:18:24 -0800
commitf3289fed2e8c0183820e8d86dabe6a262cb6f601 (patch)
treedc45cc5a718ab555b7a02fb1a6c5c2c8340f8cd8 /libpod/container.go
parentade0b3084436f1b9325fd689529db03294a0d1f8 (diff)
parent61d4db480650c57d383990750ed87990e903f4da (diff)
downloadpodman-f3289fed2e8c0183820e8d86dabe6a262cb6f601.tar.gz
podman-f3289fed2e8c0183820e8d86dabe6a262cb6f601.tar.bz2
podman-f3289fed2e8c0183820e8d86dabe6a262cb6f601.zip
Merge pull request #1880 from baude/f29fixes
Fix golang formatting issues
Diffstat (limited to 'libpod/container.go')
-rw-r--r--libpod/container.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/container.go b/libpod/container.go
index a8a58f4d8..b6155a809 100644
--- a/libpod/container.go
+++ b/libpod/container.go
@@ -829,7 +829,7 @@ func (c *Container) IPs() ([]net.IPNet, error) {
}
if !c.config.CreateNetNS {
- return nil, errors.Wrapf(ErrInvalidArg, "container %s network namespace is not managed by libpod")
+ return nil, errors.Wrapf(ErrInvalidArg, "container %s network namespace is not managed by libpod", c.ID())
}
ips := make([]net.IPNet, 0)
@@ -857,7 +857,7 @@ func (c *Container) Routes() ([]types.Route, error) {
}
if !c.config.CreateNetNS {
- return nil, errors.Wrapf(ErrInvalidArg, "container %s network namespace is not managed by libpod")
+ return nil, errors.Wrapf(ErrInvalidArg, "container %s network namespace is not managed by libpod", c.ID())
}
routes := make([]types.Route, 0)