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

Legacy fixes #1440

Merged
merged 3 commits into from May 24, 2015
Merged

Legacy fixes #1440

merged 3 commits into from May 24, 2015

Conversation

aanand
Copy link

@aanand aanand commented May 21, 2015

Fixed two bugs:

  • One-off containers were included in the warning log messages, which can make for unreadable output when there are lots (as there often are).
  • Compose was attempting to recreate one-off containers as normal containers when migrating.

Did some cleanup:

  • Rename migration module to legacy to make its legacy-ness explicit
  • Move check_for_legacy_containers into legacy module
  • Fix migration test so it can be run in isolation

- Rename `migration` module to `legacy` to make its legacy-ness explicit

- Move `check_for_legacy_containers` into `legacy` module

- Fix migration test so it can be run in isolation

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
- One-off containers were included in the warning log messages, which can
  make for unreadable output when there are lots (as there often are).

- Compose was attempting to recreate one-off containers as normal
  containers when migrating.

Fixed by implementing the exact naming logic from before we used labels.

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
@dnephin
Copy link

dnephin commented May 24, 2015

LGTM

dnephin added a commit that referenced this pull request May 24, 2015
@dnephin dnephin merged commit 889d363 into docker:master May 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants