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

vc: error handling for bindUnmount functionalities #1757

Merged
merged 2 commits into from
Jun 12, 2019

Commits on Jun 11, 2019

  1. vc: Add vendor package go-multierror

    The go-multierror package provides clean handling of multiple
    errors without returning after the first error is found. This
    can be used in a loop that wants to complete before returning
    all, if any, errors found.
    
    Fixes: kata-containers#164
    
    Signed-off-by: gabrielle beyer <[email protected]>
    gabrielle beyer committed Jun 11, 2019
    Configuration menu
    Copy the full SHA
    61fff89 View commit details
    Browse the repository at this point in the history
  2. vc: error handling for bindUnmount functionalities

    Add error handling surrounding the syscall of unmounting the
    container rootfs. Include a unit test to check that missing
    files are not considered errors when attempting to unmount.
    
    Fixes: kata-containers#164
    
    Signed-off-by: gabrielle beyer <[email protected]>
    gabrielle beyer committed Jun 11, 2019
    Configuration menu
    Copy the full SHA
    e08f13e View commit details
    Browse the repository at this point in the history