Skip to content
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

Move logging config under separate key in v2 compose files #2626

Merged

Conversation

shin-
Copy link

@shin- shin- commented Jan 8, 2016

Implements #2503, based on #2561

dbonev and others added 3 commits January 8, 2016 01:54
Signed-off-by: Dimitar Bonev <dimitar.bonev@gmail.com>
Reorganize JSON schemas
Update fixtures
Update service validation function

Signed-off-by: Joffrey F <joffrey@docker.com>
Additional test for legacy compose file.

Signed-off-by: Joffrey F <joffrey@docker.com>
@shin- shin- self-assigned this Jan 8, 2016
@shin- shin- added this to the 1.6.0 milestone Jan 8, 2016
@@ -523,6 +530,8 @@ def _get_container_create_options(
for k in DOCKER_CONFIG_KEYS if k in self.options)
container_options.update(override_options)

container_options.update(self.get_logging_options())

Copy link

Choose a reason for hiding this comment

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

Why is this required? I thought we only had to provide it to the HostConfig section which is done below.

Copy link
Author

Choose a reason for hiding this comment

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

You're right, this doesn't look useful since those keys will be removed a few lines later.

@dnephin
Copy link

dnephin commented Jan 11, 2016

A question and a request, but generally looks good.

I'd really like to merge the fields_schema and service_schema into a single file, but I guess it's not urgent.

Signed-off-by: Joffrey F <joffrey@docker.com>
Signed-off-by: Joffrey F <joffrey@docker.com>
Signed-off-by: Joffrey F <joffrey@docker.com>
@shin-
Copy link
Author

shin- commented Jan 12, 2016

@dnephin Addressed everything - PTAL.

@dnephin
Copy link

dnephin commented Jan 12, 2016

LGTM! thanks for making that test change

@aanand
Copy link

aanand commented Jan 12, 2016

LGTM

aanand added a commit that referenced this pull request Jan 12, 2016
…nder-separate-key

Move logging config under separate key in v2 compose files
@aanand aanand merged commit 52e50a9 into docker:master Jan 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants