Fix the documentation and integration test for container resize#8749
Conversation
5e18f55 to
fb31772
Compare
|
Changed the Test as per the comments. |
There was a problem hiding this comment.
do you mean The container must be restarted for the resize to take effect. ?
There was a problem hiding this comment.
Can you please revise this as @SvenDowideit has suggested? The original sentence is unclear.
|
LGTM I guess. |
|
Yes that is correct, Fix provided will make sure container is running for resize to work. |
|
Needs revision as suggested in line. Thanks. |
|
@fredlf Based on @SvenDowideit comments, I think I changed the text indicating container must be started before issuing resize. Do you mean that we should expand that further? |
|
I mean that the sentence "Container must be started before resize is requested" is not very clear and will confuse readers, so it should be revised along the lines of Sven's suggestion: "The container must be restarted for the resize to take effect." Thanks. |
fb31772 to
31a75dd
Compare
|
Thanks, fixed. |
|
LGTM for the test change |
|
LGTM |
31a75dd to
0c59f5c
Compare
0c59f5c to
72d6954
Compare
|
LGTM @vieux PTAL |
There was a problem hiding this comment.
@brahmaroutu this actually should be POST /containers/(id)/resize. Sorry for late review!
72d6954 to
10f9335
Compare
|
Thanks @tiborvass, good catch, fixed it now. |
|
I'm not sure how the API docs work, @vieux @jfrazelle @fredlf @SvenDowideit , but why is it only in @brahmaroutu Also, just realized, you would also need to make the change for |
|
@tiborvass I'd say that'd be an oversight. |
10f9335 to
50fb2f6
Compare
|
I have the same confusion, I should only add it to the last version and that used to be 1.15. I now moved the changes to 1.16. Let me know if this looks good? |
|
I don't think it needs to be in 1.9? |
|
@jfrazelle what's more confusing is if you do a |
|
oh dear... was that even a part of 1.9, when did that get added |
|
@brahmaroutu can you delete resize entirely from the 1.9 docs c7f3fdc looks like it shouldnt be there at all |
50fb2f6 to
6b94796
Compare
|
Did remove change to 1.9. Let me know if this is good now? |
|
@brahmaroutu sorry that was poor wording on my part, the resize endpoint should not even be included in the 1.9 docs. Please remove it completely. |
Closes moby#8728 Signed-off-by: Srini Brahmaroutu <[email protected]>
6b94796 to
91fb9b2
Compare
|
@jfrazelle It was more of my concern and tendency to restore 1.9 to it original state. Anyways I removed resize from 1.9 and I am assuming 1.9 is 1.09 when resize did not exist. Sorry. |
|
perfect thank you :) LGTM |
|
this has the needed reviews - thank you all for the many fixes! |
Fix the documentation and integration test for container resize
Addresses #8728
Signed-off-by: Srini Brahmaroutu [email protected]