summaryrefslogtreecommitdiff
path: root/libpod/container_internal_linux.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-11-27 10:33:19 -0600
committerbaude <bbaude@redhat.com>2018-11-28 09:26:24 -0600
commit61d4db480650c57d383990750ed87990e903f4da (patch)
tree493a2836ecaf14ef708cf53eb96c292db37c1152 /libpod/container_internal_linux.go
parenteffd63d6d5c2541f09745261a1e9205fa531e526 (diff)
downloadpodman-61d4db480650c57d383990750ed87990e903f4da.tar.gz
podman-61d4db480650c57d383990750ed87990e903f4da.tar.bz2
podman-61d4db480650c57d383990750ed87990e903f4da.zip
Fix golang formatting issues
Whe running unittests on newer golang versions, we observe failures with some formatting types when no declared correctly. Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'libpod/container_internal_linux.go')
-rw-r--r--libpod/container_internal_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_internal_linux.go b/libpod/container_internal_linux.go
index 99f8652df..5fc94eb8a 100644
--- a/libpod/container_internal_linux.go
+++ b/libpod/container_internal_linux.go
@@ -764,7 +764,7 @@ func (c *Container) generateResolvConf() (string, error) {
// Build resolv.conf
if _, err = resolvconf.Build(destPath, nameservers, search, options); err != nil {
- return "", errors.Wrapf(err, "error building resolv.conf for container %s")
+ return "", errors.Wrapf(err, "error building resolv.conf for container %s", c.ID())
}
// Relabel resolv.conf for the container