Signed-off-by: Antonio Murdaca <runcom@redhat.com>
| ... | ... |
@@ -332,6 +332,12 @@ func (container *Container) UpdateContainer(hostConfig *containertypes.HostConfi |
| 332 | 332 |
if resources.KernelMemory != 0 {
|
| 333 | 333 |
cResources.KernelMemory = resources.KernelMemory |
| 334 | 334 |
} |
| 335 |
+ if resources.CPURealtimePeriod != 0 {
|
|
| 336 |
+ cResources.CPURealtimePeriod = resources.CPURealtimePeriod |
|
| 337 |
+ } |
|
| 338 |
+ if resources.CPURealtimeRuntime != 0 {
|
|
| 339 |
+ cResources.CPURealtimeRuntime = resources.CPURealtimeRuntime |
|
| 340 |
+ } |
|
| 335 | 341 |
|
| 336 | 342 |
// update HostConfig of container |
| 337 | 343 |
if hostConfig.RestartPolicy.Name != "" {
|