-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Return old Config fields for API < v1.20 #16956
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
Conversation
|
Thanks! LGTM assuming green. |
|
It's green ! 😉 LGTM 🐰 |
|
Let's wait @ibuildthecloud for the last LGTM then :) |
|
I can't test until late tonight, but I glady will. |
|
Looks like this needs docs changes as well; IIU this brings back these fields below
|
|
I don't think it's putting these fields back, iiu correctly from the issue, the new api version 1.21 which will ship with docker 1.9 currently hides those fields. Those fields have been deprecated in 1.20 but probably they were directly removed and showed only for api minor or equal to 1.19 instead of 1.20. Please someone confirm my view :) |
|
Yeah I think we're good without docs updates too. I'll just keep this open in |
|
This didn't work for me, I'm investigating why. |
|
From the issue;
Should this fix be in a |
|
@runcom The 's' is supposed to be lower case, so "Memory": 0,
"MemorySwap": 0,
"CpuShares": 0,
"Cpuset": ""Also, these params were dropped in v1.20 (I just confirmed in Docker 1.8). So these fields should be returned for <=1.19, with this patch they are returned for 1.20 too. |
Signed-off-by: Antonio Murdaca <amurdaca@redhat.com>
21f6e35 to
8c63ce4
Compare
|
Push forced, I see it was @ibuildthecloud PTAL |
|
1.19 and lower: 1.20: |
|
Thanks @runcom, LGTM |
|
LGTM |
Return old Config fields for API < v1.20
|
@ibuildthecloud see if it's now working for you pls |
/cc @ibuildthecloud
Signed-off-by: Antonio Murdaca amurdaca@redhat.com