diff options
Diffstat (limited to 'vendor/github.com/containerd/cgroups/pids.go')
-rw-r--r-- | vendor/github.com/containerd/cgroups/pids.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/containerd/cgroups/pids.go b/vendor/github.com/containerd/cgroups/pids.go index bdcc10a90..dcf4e29e1 100644 --- a/vendor/github.com/containerd/cgroups/pids.go +++ b/vendor/github.com/containerd/cgroups/pids.go @@ -46,7 +46,7 @@ func (p *pidsController) Update(path string, resources *specs.LinuxResources) er return p.Create(path, resources) } -func (p *pidsController) Stat(path string, stats *Stats) error { +func (p *pidsController) Stat(path string, stats *Metrics) error { current, err := readUint(filepath.Join(p.Path(path), "pids.current")) if err != nil { return err |