From 9c5f962940df6589c79ccbbea12ad1652bb9fe4d Mon Sep 17 00:00:00 2001 From: Juana De La Cuesta Date: Fri, 6 Sep 2024 10:56:47 +0200 Subject: [PATCH] Update client/lib/cgroupslib/partition_linux.go Co-authored-by: Tim Gross --- client/lib/cgroupslib/partition_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/lib/cgroupslib/partition_linux.go b/client/lib/cgroupslib/partition_linux.go index 68eb5bc95..165454dd0 100644 --- a/client/lib/cgroupslib/partition_linux.go +++ b/client/lib/cgroupslib/partition_linux.go @@ -93,7 +93,7 @@ func (p *partition) Release(cores *idset.Set[hw.CoreID]) error { p.reserve.RemoveSet(cores) - // Use the intersection with the usable cores to avoid adding more cores than available. + // Use the intersection with the usable cores to avoid removing more cores than available. p.share.InsertSet(p.usableCores.Intersect(cores)) return p.write() }