diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2022-01-10 13:47:12 +0100 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2022-01-10 16:25:37 +0100 |
commit | b7380a7c367246fa50b2380a99dbff39c4dc78d0 (patch) | |
tree | 5ab5bd236e3f6f0e9036287a16740b184aa3c40b /vendor/golang.org/x/sys/plan9 | |
parent | 6ed2c639ac614b8292660fda604d3a8f6cbb42b7 (diff) | |
download | podman-b7380a7c367246fa50b2380a99dbff39c4dc78d0.tar.gz podman-b7380a7c367246fa50b2380a99dbff39c4dc78d0.tar.bz2 podman-b7380a7c367246fa50b2380a99dbff39c4dc78d0.zip |
vendor c/common
Also update the e2e pull test to account for the changes when pulling
from the dir transport. Images pulled via the dir transport are not
tagged anymore; the path is not a reliable source.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'vendor/golang.org/x/sys/plan9')
-rw-r--r-- | vendor/golang.org/x/sys/plan9/syscall_plan9.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vendor/golang.org/x/sys/plan9/syscall_plan9.go b/vendor/golang.org/x/sys/plan9/syscall_plan9.go index 84e147148..723b1f400 100644 --- a/vendor/golang.org/x/sys/plan9/syscall_plan9.go +++ b/vendor/golang.org/x/sys/plan9/syscall_plan9.go @@ -132,8 +132,10 @@ func Pipe(p []int) (err error) { } var pp [2]int32 err = pipe(&pp) - p[0] = int(pp[0]) - p[1] = int(pp[1]) + if err == nil { + p[0] = int(pp[0]) + p[1] = int(pp[1]) + } return } |