Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix the documentation and integration test for container resize#8749

Merged
SvenDowideit merged 1 commit into
moby:masterfrom
brahmaroutu:resize_uponstart_8728_2
Nov 18, 2014
Merged

Fix the documentation and integration test for container resize#8749
SvenDowideit merged 1 commit into
moby:masterfrom
brahmaroutu:resize_uponstart_8728_2

Conversation

@brahmaroutu

Copy link
Copy Markdown
Contributor

Addresses #8728

Signed-off-by: Srini Brahmaroutu [email protected]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use top

@brahmaroutu brahmaroutu force-pushed the resize_uponstart_8728_2 branch from 5e18f55 to fb31772 Compare October 24, 2014 21:29
@brahmaroutu

Copy link
Copy Markdown
Contributor Author

Changed the Test as per the comments.

@SvenDowideit

Copy link
Copy Markdown
Contributor

LGTM - @fredlf @jamtur01

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you mean The container must be restarted for the resize to take effect. ?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please revise this as @SvenDowideit has suggested? The original sentence is unclear.

@jamtur01

Copy link
Copy Markdown
Contributor

LGTM I guess.

@brahmaroutu

Copy link
Copy Markdown
Contributor Author

Yes that is correct, Fix provided will make sure container is running for resize to work.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As above.

@fredlf

fredlf commented Nov 3, 2014

Copy link
Copy Markdown
Contributor

Needs revision as suggested in line. Thanks.

@brahmaroutu

Copy link
Copy Markdown
Contributor Author

@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?

@fredlf

fredlf commented Nov 3, 2014

Copy link
Copy Markdown
Contributor

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.

@brahmaroutu brahmaroutu force-pushed the resize_uponstart_8728_2 branch from fb31772 to 31a75dd Compare November 3, 2014 19:16
@brahmaroutu

Copy link
Copy Markdown
Contributor Author

Thanks, fixed.

@tiborvass

Copy link
Copy Markdown
Contributor

LGTM for the test change
Ping @vieux @jfrazelle

@jessfraz

jessfraz commented Nov 3, 2014

Copy link
Copy Markdown
Contributor

LGTM

@brahmaroutu brahmaroutu force-pushed the resize_uponstart_8728_2 branch from 31a75dd to 0c59f5c Compare November 3, 2014 20:58
@brahmaroutu brahmaroutu force-pushed the resize_uponstart_8728_2 branch from 0c59f5c to 72d6954 Compare November 11, 2014 16:14
@unclejack

Copy link
Copy Markdown
Contributor

LGTM

@vieux PTAL

Comment thread docs/sources/http-routingtable.md Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@brahmaroutu this actually should be POST /containers/(id)/resize. Sorry for late review!

@brahmaroutu brahmaroutu force-pushed the resize_uponstart_8728_2 branch from 72d6954 to 10f9335 Compare November 17, 2014 16:40
@brahmaroutu

Copy link
Copy Markdown
Contributor Author

Thanks @tiborvass, good catch, fixed it now.

@tiborvass

Copy link
Copy Markdown
Contributor

I'm not sure how the API docs work, @vieux @jfrazelle @fredlf @SvenDowideit , but why is it only in 1.9 and 1.15 and not the versions in between?

@brahmaroutu Also, just realized, you would also need to make the change for 1.16 (the next version).

@jamtur01

Copy link
Copy Markdown
Contributor

@tiborvass I'd say that'd be an oversight.

@brahmaroutu brahmaroutu force-pushed the resize_uponstart_8728_2 branch from 10f9335 to 50fb2f6 Compare November 17, 2014 16:54
@brahmaroutu

Copy link
Copy Markdown
Contributor Author

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?

@jessfraz

Copy link
Copy Markdown
Contributor

I don't think it needs to be in 1.9?

@tiborvass

Copy link
Copy Markdown
Contributor

@jfrazelle what's more confusing is if you do a grep -r '/resize' docs/

@jessfraz

Copy link
Copy Markdown
Contributor

oh dear... was that even a part of 1.9, when did that get added

@jessfraz

Copy link
Copy Markdown
Contributor

@brahmaroutu can you delete resize entirely from the 1.9 docs c7f3fdc looks like it shouldnt be there at all

@brahmaroutu brahmaroutu force-pushed the resize_uponstart_8728_2 branch from 50fb2f6 to 6b94796 Compare November 17, 2014 18:05
@brahmaroutu

Copy link
Copy Markdown
Contributor Author

Did remove change to 1.9. Let me know if this is good now?

@jessfraz

Copy link
Copy Markdown
Contributor

@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.

@brahmaroutu brahmaroutu force-pushed the resize_uponstart_8728_2 branch from 6b94796 to 91fb9b2 Compare November 17, 2014 18:38
@brahmaroutu

Copy link
Copy Markdown
Contributor Author

@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.

@jessfraz

Copy link
Copy Markdown
Contributor

perfect thank you :) LGTM

@SvenDowideit

Copy link
Copy Markdown
Contributor

this has the needed reviews - thank you all for the many fixes!

SvenDowideit added a commit that referenced this pull request Nov 18, 2014
Fix the documentation and integration test for container resize
@SvenDowideit SvenDowideit merged commit e2d08bd into moby:master Nov 18, 2014
@brahmaroutu brahmaroutu deleted the resize_uponstart_8728_2 branch November 26, 2014 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants