Merge pull request #949 from cyphar/fix-cgroup-rt-json

configs: fix json tags for CpuRt* options
This commit is contained in:
Mrunal Patel 2016-07-18 12:47:09 -04:00 committed by GitHub
commit ff9cb9b42d
1 changed files with 2 additions and 2 deletions

View File

@ -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"`