From cebf6777f5777ecbb0559673b30b18749f91db03 Mon Sep 17 00:00:00 2001 From: wineway Date: Fri, 18 Feb 2022 11:25:52 +0800 Subject: [PATCH] update idle type of LinuxCPU from *int64 to int64 --- specs-go/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specs-go/config.go b/specs-go/config.go index 83587f1dc..c01abe24d 100644 --- a/specs-go/config.go +++ b/specs-go/config.go @@ -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)