summaryrefslogtreecommitdiff
path: root/libpod/pod_internal.go
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2019-06-21 16:00:39 -0400
committerMatthew Heon <mheon@redhat.com>2019-06-21 16:00:39 -0400
commitc233a12772e5f89bebde70d56f3d684170bafa1d (patch)
tree187b515359a0688f6e45969a4be77811443d144d /libpod/pod_internal.go
parentaa21ec158afff2263d3f7a83fee75b275ff7122e (diff)
downloadpodman-c233a12772e5f89bebde70d56f3d684170bafa1d.tar.gz
podman-c233a12772e5f89bebde70d56f3d684170bafa1d.tar.bz2
podman-c233a12772e5f89bebde70d56f3d684170bafa1d.zip
Add additional debugging when refreshing locks
Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'libpod/pod_internal.go')
-rw-r--r--libpod/pod_internal.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/pod_internal.go b/libpod/pod_internal.go
index 1fcb5b1a6..23359d841 100644
--- a/libpod/pod_internal.go
+++ b/libpod/pod_internal.go
@@ -58,7 +58,7 @@ func (p *Pod) refresh() error {
// Retrieve the pod's lock
lock, err := p.runtime.lockManager.AllocateAndRetrieveLock(p.config.LockID)
if err != nil {
- return errors.Wrapf(err, "error retrieving lock for pod %s", p.ID())
+ return errors.Wrapf(err, "error retrieving lock %d for pod %s", p.config.LockID, p.ID())
}
p.lock = lock