Skip to content

Commit 03ee836

Browse files
committed
fix: repair bad merge
Signed-off-by: Seth Pellegrino <[email protected]>
1 parent c458f2f commit 03ee836

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

runtime/v2/runc/v1/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ func (s *service) Start(ctx context.Context, r *taskAPI.StartRequest) (*taskAPI.
273273
}
274274
switch r.ExecID {
275275
case "":
276-
if err := s.ep.Add(container.ID, cg); err != nil {
276+
if err := s.ep.Add(container.ID, container.Cgroup()); err != nil {
277277
logrus.WithError(err).Error("add cg to OOM monitor")
278278
}
279279
s.send(&eventstypes.TaskStart{

0 commit comments

Comments
 (0)