-
Notifications
You must be signed in to change notification settings - Fork 950
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bugfix: cpu params json name compatibility with moby #2041
bugfix: cpu params json name compatibility with moby #2041
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2041 +/- ##
==========================================
- Coverage 63.83% 63.82% -0.01%
==========================================
Files 200 200
Lines 15531 15531
==========================================
- Hits 9914 9913 -1
- Misses 4387 4388 +1
Partials 1230 1230
|
apis/swagger.yml
Outdated
@@ -2261,7 +2261,7 @@ definitions: | |||
Resources: | |||
description: "A container's resources (cgroups config, ulimits, etc)" | |||
type: "object" | |||
required: [CPUShares, Memory, CgroupParent, BlkioWeight, CPUPeriod, CPUQuota, CpuRealtimePeriod, | |||
required: [CpuShares, Memory, CgroupParent, BlkioWeight, CpuPeriod, CpuQuota, CpuRealtimePeriod, | |||
CpuRealtimeRuntime, CpusetCpus, CpusetMems, DeviceCgroupRules, KernelMemory, MemoryReservation, | |||
MemorySwap, MemorySwappiness, NanoCPUs, OomKillDisable, PidsLimit, CpuCount, CpuPercent, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just double check if we need to update NanoCPUs
? @HusterWan
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch!
Signed-off-by: Michael Wan <zirenwan@gmail.com>
9751be9
to
f4eb6a2
Compare
LGTM |
Signed-off-by: Michael Wan zirenwan@gmail.com
Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?
Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews