From e6be800ec633342aef656e0a2ed0bdc4519796d9 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Wed, 10 Jan 2018 13:49:38 -0500 Subject: Update DB to add new fields required for planned features Signed-off-by: Matthew Heon Closes: #209 Approved by: rhatdan --- libpod/container_top.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpod/container_top.go') 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 { -- cgit v1.2.3-54-g00ecf