Skip to content

Cleanup daemon/volumes - #10422

Merged
jessfraz merged 1 commit into
moby:masterfrom
cpuguy83:cleanup_daemon_volumes
Apr 23, 2015
Merged

jessfraz merged 1 commit into
moby:masterfrom
cpuguy83:cleanup_daemon_volumes

Conversation

@cpuguy83

Copy link
Copy Markdown
Member
  • Mount struct now called volumeMount
  • Merged volume creation for each volume type (volumes-from, binds, normal
    volumes) so this only happens in once place
  • Simplified container copy of volumes (for when docker cp is a
    volume)

@cpuguy83
cpuguy83 force-pushed the cleanup_daemon_volumes branch 2 times, most recently from 555b802 to 48172de Compare January 29, 2015 16:27
@cpuguy83
cpuguy83 force-pushed the cleanup_daemon_volumes branch from 48172de to 99aaeff Compare February 7, 2015 03:21
Comment thread daemon/volumes.go 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.

what about declaring these in the function return (path string, toPath string, writable bool, err error)

idk might be cool

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

+1 will make that change. Makes it easier to tell what's actually being returned.

@cpuguy83
cpuguy83 force-pushed the cleanup_daemon_volumes branch 7 times, most recently from 6855583 to 77d0b28 Compare February 18, 2015 19:27
@cpuguy83
cpuguy83 force-pushed the cleanup_daemon_volumes branch 4 times, most recently from eb987c4 to 844049a Compare February 27, 2015 21:21
@cpuguy83

cpuguy83 commented Mar 4, 2015

Copy link
Copy Markdown
Member Author

ping @icecrime @LK4D4

@jessfraz

Copy link
Copy Markdown
Contributor

does this fix #9981

@jessfraz jessfraz added this to the 1.6.0 milestone Mar 21, 2015
@cpuguy83

Copy link
Copy Markdown
Member Author

Indeed, added it to the comment so it gets closed out.

@jessfraz

Copy link
Copy Markdown
Contributor

is there a way to seperate out the bug fix from the rest sorry @cpuguy83

@cpuguy83

Copy link
Copy Markdown
Member Author

@jfrazelle it's here #10365

@jessfraz jessfraz removed this from the 1.6.0 milestone Mar 23, 2015
@jessfraz

Copy link
Copy Markdown
Contributor

awesome reopened \o/

On Mon, Mar 23, 2015 at 10:00 AM, Brian Goff [email protected]
wrote:

@jfrazelle https://github.com/jfrazelle it's here #10365
#10365

—
Reply to this email directly or view it on GitHub
#10422 (comment).

@cpuguy83

Copy link
Copy Markdown
Member Author

I know this one is a difficult one to review, but I think this simplifies daemon/volumes a good deal.
Would be great if we can go ahead and get this in.

@cpuguy83
cpuguy83 force-pushed the cleanup_daemon_volumes branch 2 times, most recently from b0f66c4 to 101522e Compare April 6, 2015 19:33
@LK4D4

LK4D4 commented Apr 8, 2015

Copy link
Copy Markdown
Contributor

LGTM

@jessfraz

Copy link
Copy Markdown
Contributor

oh shoot needs rebase so sorry, ping me after for merge

- Mount struct now called volumeMount
- Merged volume creation for each volume type (volumes-from, binds, normal
  volumes) so this only happens in once place
- Simplified container copy of volumes (for when `docker cp` is a
  volume)

Signed-off-by: Brian Goff <[email protected]>
@cpuguy83
cpuguy83 force-pushed the cleanup_daemon_volumes branch from 101522e to f3680e7 Compare April 22, 2015 23:35
@cpuguy83

Copy link
Copy Markdown
Member Author

Rebased.

@jessfraz

Copy link
Copy Markdown
Contributor

LGTM

jessfraz pushed a commit that referenced this pull request Apr 23, 2015
@jessfraz
jessfraz merged commit 505788d into moby:master Apr 23, 2015
@cpuguy83
cpuguy83 deleted the cleanup_daemon_volumes branch April 23, 2015 00:15
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.

4 participants