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

remote run: fix error checks #7561

Merged
merged 1 commit into from
Sep 11, 2020

Commits on Sep 11, 2020

  1. remote run: fix error checks

    As error types are not preserved on the client side (due to marshaling),
    we cannot use `errors.Cause(...)` and friends but, unfortunately, have
    to fall back to looking for substring the error messages.
    
    Change the error checks in remote run to do substring matches and fix
    issue containers#7340.
    
    Fixes: containers#7340
    Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
    vrothberg committed Sep 11, 2020
    Configuration menu
    Copy the full SHA
    2044931 View commit details
    Browse the repository at this point in the history