Skip to content

Commit 4853320

Browse files
committed
use default when user does not provide rdt-class
Signed-off-by: Wolfgang Pross <[email protected]>
1 parent 77336de commit 4853320

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/specgenutil/specgen.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,8 +492,8 @@ func FillOutSpecGen(s *specgen.SpecGenerator, c *entities.ContainerCreateOptions
492492
}
493493

494494
// Intel RDT CAT
495-
s.IntelRdt = &specs.LinuxIntelRdt{}
496495
if c.IntelRdtClosID != "" {
496+
s.IntelRdt = &specs.LinuxIntelRdt{}
497497
s.IntelRdt.ClosID = c.IntelRdtClosID
498498
}
499499

0 commit comments

Comments
 (0)