We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c07c601 commit 6f3b1d2Copy full SHA for 6f3b1d2
libcontainer/container_linux.go
@@ -768,7 +768,10 @@ func (c *linuxContainer) updateState(process parentProcess) error {
768
}
769
770
func (c *linuxContainer) checkFreezer() (Status, error) {
771
- path := c.cgroupManager.GetPaths()["freezer"]
+ path, ok := c.cgroupManager.GetPaths()["freezer"]
772
+ if (!ok) {
773
+ return Running, nil
774
+ }
775
contents, err := ioutil.ReadFile(filepath.Join(path, "freezer.state"))
776
if err != nil {
777
if os.IsNotExist(err) {
0 commit comments