diff options
author | Matthew Heon <mheon@redhat.com> | 2019-06-21 16:00:39 -0400 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2019-06-21 16:00:39 -0400 |
commit | c233a12772e5f89bebde70d56f3d684170bafa1d (patch) | |
tree | 187b515359a0688f6e45969a4be77811443d144d /libpod/container_internal.go | |
parent | aa21ec158afff2263d3f7a83fee75b275ff7122e (diff) | |
download | podman-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/container_internal.go')
-rw-r--r-- | libpod/container_internal.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_internal.go b/libpod/container_internal.go index 3e2fd0c44..56fd27afb 100644 --- a/libpod/container_internal.go +++ b/libpod/container_internal.go @@ -509,7 +509,7 @@ func (c *Container) refresh() error { // We need to pick up a new lock lock, err := c.runtime.lockManager.AllocateAndRetrieveLock(c.config.LockID) if err != nil { - return errors.Wrapf(err, "error acquiring lock for container %s", c.ID()) + return errors.Wrapf(err, "error acquiring lock %d for container %s", c.config.LockID, c.ID()) } c.lock = lock |