Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
vc: error handling for bindUnmount functionalities
Browse files Browse the repository at this point in the history
Add error handling surrounding the syscall of unmounting the
container rootfs

This includes adding the vendor package hashicorp/go-multierror
for cleaner code when handling multiple errors of unmounting
all mounts within a loop, and not returning only the first
error, but all errors if they exist.

Fixes: #164

Signed-off-by: gabrielle beyer <[email protected]>
  • Loading branch information
gabrielle beyer committed Jun 10, 2019
1 parent 64e5e21 commit c28844f
Show file tree
Hide file tree
Showing 26 changed files with 1,762 additions and 9 deletions.
12 changes: 12 additions & 0 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

354 changes: 354 additions & 0 deletions vendor/github.com/hashicorp/errwrap/LICENSE

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

169 changes: 169 additions & 0 deletions vendor/github.com/hashicorp/errwrap/errwrap.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c28844f

Please sign in to comment.