MCPcopy Create free account
hub / github.com/containerd/cgroups / Update

Method Update

cgroup1/pids.go:61–63  ·  view source on GitHub ↗
(path string, resources *specs.LinuxResources)

Source from the content-addressed store, hash-verified

59}
60
61func (p *pidsController) Update(path string, resources *specs.LinuxResources) error {
62 return p.Create(path, resources)
63}
64
65func (p *pidsController) Stat(path string, stats *v1.Metrics) error {
66 current, err := readUint(filepath.Join(p.Path(path), "pids.current"))

Callers

nothing calls this directly

Calls 1

CreateMethod · 0.95

Tested by

no test coverage detected