Update client/lib/cgroupslib/partition_linux.go

Co-authored-by: Tim Gross <tgross@hashicorp.com>
This commit is contained in:
Juana De La Cuesta
2024-09-06 10:56:47 +02:00
committed by GitHub
parent 426c225dc2
commit 9c5f962940

View File

@@ -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()
}