Skip to content

Commit b8dbce9

Browse files
committed
update idle type of LinuxCPU from *int64 to int64
Signed-off-by: wineway <[email protected]>
1 parent 9d363b3 commit b8dbce9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

specs-go/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,8 +330,8 @@ type LinuxCPU struct {
330330
Cpus string `json:"cpus,omitempty"`
331331
// List of memory nodes in the cpuset. Default is to use any available memory node.
332332
Mems string `json:"mems,omitempty"`
333-
// cgroups are configured with minimum weight, 0: default behavior, 1: SCHED_IDLE. Default 0
334-
Idle *int64 `json:"idle,omitempty"`
333+
// cgroups are configured with minimum weight, 0: default behavior, 1: SCHED_IDLE.
334+
Idle int64 `json:"idle"`
335335
}
336336

337337
// LinuxPids for Linux cgroup 'pids' resource management (Linux 4.3)

0 commit comments

Comments
 (0)