Skip to content

Unmount rootfs with separate Remove() in bundle#3325

Merged
fuweid merged 1 commit intocontainerd:masterfrom
crosbymichael:unmount
Jun 6, 2019
Merged

Unmount rootfs with separate Remove() in bundle#3325
fuweid merged 1 commit intocontainerd:masterfrom
crosbymichael:unmount

Conversation

@crosbymichael
Copy link
Copy Markdown
Member

This ensures that a container does not have a mounted rootfs in the
bundle directory before RemoveAll is called. Having the rootfs removed
first with a Remove ensures that the directory is not mounted and empty
before the bundle directory is removed.

Signed-off-by: Michael Crosby [email protected]

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Jun 5, 2019

Build succeeded.

This ensures that a container does not have a mounted rootfs in the
bundle directory before RemoveAll is called.  Having the rootfs removed
first with a Remove ensures that the directory is not mounted and empty
before the bundle directory is removed.

Signed-off-by: Michael Crosby <[email protected]>
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Jun 5, 2019

Build succeeded.

@codecov-io
Copy link
Copy Markdown

codecov-io commented Jun 5, 2019

Codecov Report

Merging #3325 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3325   +/-   ##
=======================================
  Coverage   44.86%   44.86%           
=======================================
  Files         113      113           
  Lines       12338    12338           
=======================================
  Hits         5535     5535           
  Misses       5953     5953           
  Partials      850      850
Flag Coverage Δ
#linux 48.79% <ø> (ø) ⬆️
#windows 40.25% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 40f54dc...ed308ea. Read the comment docs.

Copy link
Copy Markdown
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Member

@fuweid fuweid left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants