Merge pull request #949 from cyphar/fix-cgroup-rt-json
configs: fix json tags for CpuRt* options
This commit is contained in:
commit
ff9cb9b42d
|
@ -69,10 +69,10 @@ type Resources struct {
|
||||||
CpuPeriod int64 `json:"cpu_period"`
|
CpuPeriod int64 `json:"cpu_period"`
|
||||||
|
|
||||||
// How many time CPU will use in realtime scheduling (in usecs).
|
// How many time CPU will use in realtime scheduling (in usecs).
|
||||||
CpuRtRuntime int64 `json:"cpu_quota"`
|
CpuRtRuntime int64 `json:"cpu_rt_quota"`
|
||||||
|
|
||||||
// CPU period to be used for realtime scheduling (in usecs).
|
// CPU period to be used for realtime scheduling (in usecs).
|
||||||
CpuRtPeriod int64 `json:"cpu_period"`
|
CpuRtPeriod int64 `json:"cpu_rt_period"`
|
||||||
|
|
||||||
// CPU to use
|
// CPU to use
|
||||||
CpusetCpus string `json:"cpuset_cpus"`
|
CpusetCpus string `json:"cpuset_cpus"`
|
||||||
|
|
Loading…
Reference in New Issue