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

[17.03] Fix issue backporting mount spec to pre-1.13 obj #33207

Merged
merged 1 commit into from May 15, 2017

Commits on May 15, 2017

  1. Fix issue backporting mount spec to pre-1.13 obj

    In some cases a mount spec would not be properly backported which could
    lead to accidental removal of the underlying volume on container remove
    (which should never happen with named volumes).
    
    Adds unit tests for this as well. Unfortunately I had to add a daemon
    depdency for the backport function due to looking up `VolumesFrom`
    specs.
    
    Signed-off-by: Brian Goff <cpuguy83@gmail.com>
    (cherry picked from commit 3cf1859)
    Signed-off-by: Brian Goff <cpuguy83@gmail.com>
    cpuguy83 committed May 15, 2017
    Copy the full SHA
    d772750 View commit details
    Browse the repository at this point in the history