summaryrefslogtreecommitdiff
path: root/libpod/container_top.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-01-10 13:49:38 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-01-10 20:16:21 +0000
commite6be800ec633342aef656e0a2ed0bdc4519796d9 (patch)
treed793d4e79fd298e3c2dd82b173b6b7746a8e9c0f /libpod/container_top.go
parentf0843e94cf6ce780bd36e72cc1e754fce900c608 (diff)
downloadpodman-e6be800ec633342aef656e0a2ed0bdc4519796d9.tar.gz
podman-e6be800ec633342aef656e0a2ed0bdc4519796d9.tar.bz2
podman-e6be800ec633342aef656e0a2ed0bdc4519796d9.zip
Update DB to add new fields required for planned features
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #209 Approved by: rhatdan
Diffstat (limited to 'libpod/container_top.go')
-rw-r--r--libpod/container_top.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_top.go b/libpod/container_top.go
index 7d6dad2b4..020773488 100644
--- a/libpod/container_top.go
+++ b/libpod/container_top.go
@@ -25,7 +25,7 @@ func (c *Container) GetContainerPids() ([]string, error) {
// Gets the pids for a container without locking. should only be called from a func where
// locking has already been established.
func (c *Container) getContainerPids() ([]string, error) {
- taskFile := filepath.Join("/sys/fs/cgroup/pids", CGroupParent, fmt.Sprintf("libpod-conmon-%s", c.ID()), c.ID(), "tasks")
+ taskFile := filepath.Join("/sys/fs/cgroup/pids", CgroupParent, fmt.Sprintf("libpod-conmon-%s", c.ID()), c.ID(), "tasks")
logrus.Debug("reading pids from ", taskFile)
content, err := ioutil.ReadFile(taskFile)
if err != nil {