Skip to content

Commit

Permalink
update idle type of LinuxCPU from *int64 to int64
Browse files Browse the repository at this point in the history
Signed-off-by: wineway <wangyuweihx@gmail.com>
  • Loading branch information
wineway committed Feb 18, 2022
1 parent 9d363b3 commit 265e62a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions specs-go/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,8 @@ type LinuxCPU struct {
Cpus string `json:"cpus,omitempty"`
// List of memory nodes in the cpuset. Default is to use any available memory node.
Mems string `json:"mems,omitempty"`
// cgroups are configured with minimum weight, 0: default behavior, 1: SCHED_IDLE. Default 0
Idle *int64 `json:"idle,omitempty"`
// cgroups are configured with minimum weight, 0: default behavior, 1: SCHED_IDLE.
Idle int64 `json:"idle,omitempty"`
}

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

0 comments on commit 265e62a

Please sign in to comment.