diff options
Diffstat (limited to 'libpod/stats.go')
-rw-r--r-- | libpod/stats.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/stats.go b/libpod/stats.go index f4694923c..33e57572c 100644 --- a/libpod/stats.go +++ b/libpod/stats.go @@ -37,7 +37,7 @@ func (c *Container) GetContainerStats(previousStats *ContainerStats) (*Container c.lock.Lock() defer c.lock.Unlock() if err := c.syncContainer(); err != nil { - return stats, errors.Wrapf(err, "error updating container %s state", c.ID()) + return stats, err } if c.state.State != ContainerStateRunning { return stats, nil |