-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
Modify Network structures json tags #17536
Conversation
@aboch please use |
@tibor ok |
- So that they comply with docker inspect convention Which is allowing camel case for json field names Signed-off-by: Alessandro Boch <aboch@docker.com>
@tiborvass Addressed your comment. PTAL. Thanks. |
LGTM |
LGTM 😉 |
LGTM |
Tested this patch with compose. We need to make some small changes to the test suite, but no changes to the application code. LGTM |
Modify Network structures json tags
After testing the change with Swarm, properties below /cc @dnephin @tiborvass |
@abronan thanks, that's weird :S |
Ping @moxiegirl for out-of-band docs check |
@tiborvass I'll check this and add any changes to #17340 |
Add back the "old" networksettings fields that were removed, but added back to maintain backward compatibility, in moby#17538 Update network endpoint responses, with updated response introduced in; moby#17536 Added changes to v1.22 that were applied to the v1.21 / v1.20 docs after the API bump(s); moby#17085 moby#17127 moby#13707 Also fixed some mixed tab/spaces indentation and Markdown formatting issues (causing code-blocks to be rendered incorrectly) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Add back the "old" networksettings fields that were removed, but added back to maintain backward compatibility, in moby#17538 Update network endpoint responses, with updated response introduced in; moby#17536 Added changes to v1.22 that were applied to the v1.21 / v1.20 docs after the API bump(s); moby#17085 moby#17127 moby#13707 Also fixed some mixed tab/spaces indentation and Markdown formatting issues (causing code-blocks to be rendered incorrectly) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit 286fe69) Conflicts: docs/reference/api/docker_remote_api_v1.22.md
Which is allowing camel case for json field names
Fixes #17519
Signed-off-by: Alessandro Boch aboch@docker.com