summaryrefslogtreecommitdiffhomepage
path: root/runsc/container/container.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-04-08 01:55:07 +0000
committergVisor bot <gvisor-bot@google.com>2020-04-08 01:55:07 +0000
commite949f65eeffe7b679e5bbf3136a3f8e9807fd670 (patch)
tree63fb8069611eefb1cb854f9b3d7d121469b90c69 /runsc/container/container.go
parente86e426bace1598a0c7be525d3b70ff0502284d8 (diff)
parent56054fc1fb0b92cb985f96467f9059e202d8095c (diff)
Merge release-20200323.0-89-g56054fc (automated)
Diffstat (limited to 'runsc/container/container.go')
-rw-r--r--runsc/container/container.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/runsc/container/container.go b/runsc/container/container.go
index c9839044c..7233659b1 100644
--- a/runsc/container/container.go
+++ b/runsc/container/container.go
@@ -1077,9 +1077,9 @@ func (c *Container) adjustGoferOOMScoreAdj() error {
// oom_score_adj is set to the lowest oom_score_adj among the containers
// running in the sandbox.
//
-// TODO(gvisor.dev/issue/512): This call could race with other containers being
+// TODO(gvisor.dev/issue/238): This call could race with other containers being
// created at the same time and end up setting the wrong oom_score_adj to the
-// sandbox.
+// sandbox. Use rpc client to synchronize.
func adjustSandboxOOMScoreAdj(s *sandbox.Sandbox, rootDir string, destroy bool) error {
containers, err := loadSandbox(rootDir, s.ID)
if err != nil {