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

Actually check for syscall.ENODEV when checking if a container is paused #2279

Merged
merged 1 commit into from
Mar 31, 2020

Commits on Mar 31, 2020

  1. Actually check for syscall.ENODEV when checking if a container is paused

    It turns out that ioutil.Readfile wraps the error in a *os.PathError.
    Since we cannot guarantee compilation with golang >= v1.13, we are
    manually unwrapping the error.
    
    Signed-off-by: Kieron Browne <kbrowne@pivotal.io>
    yulianedyalkova authored and Kieron Browne committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    2abc6a3 View commit details
    Browse the repository at this point in the history