diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2020-09-11 11:56:18 +0200 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2020-09-11 12:41:15 +0200 |
commit | 204493173e26fcb07362804142e3e722a657216e (patch) | |
tree | d65c2d66a736fdd66a7cb2c0f6dec91649cd767f /pkg/domain/infra/tunnel/helpers.go | |
parent | 2a637948e72faf714b6497bcd57ab0f58485b096 (diff) | |
download | podman-204493173e26fcb07362804142e3e722a657216e.tar.gz podman-204493173e26fcb07362804142e3e722a657216e.tar.bz2 podman-204493173e26fcb07362804142e3e722a657216e.zip |
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 #7340.
Fixes: #7340
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg/domain/infra/tunnel/helpers.go')
0 files changed, 0 insertions, 0 deletions