diff options
author | Aditya Rajan <flouthoc.git@gmail.com> | 2021-09-15 14:58:44 +0530 |
---|---|---|
committer | Aditya Rajan <flouthoc.git@gmail.com> | 2021-09-15 14:58:48 +0530 |
commit | d0c605cd3da07175478b5c3947056856558be9f7 (patch) | |
tree | 8428f3f4211c5e8f9c3f0fab838d3f507eed04f3 /cmd/podman/images/scp.go | |
parent | 222b62e7b0b8b8e5ac69b776d7024c63d620b29b (diff) | |
download | podman-d0c605cd3da07175478b5c3947056856558be9f7.tar.gz podman-d0c605cd3da07175478b5c3947056856558be9f7.tar.bz2 podman-d0c605cd3da07175478b5c3947056856558be9f7.zip |
build: mirror --authfile to filesystem if pointing to FD instead of file
Following commit makes sure that podman mirrors --authfile to a temporary
file in filesystem if arg is pointing to an FD instead of actual file
as FD can be only consumed once.
Reference:
* https://github.com/containers/buildah/pull/3498
* https://github.com/containers/buildah/issues/3070
[NO TESTS NEEDED]
Signed-off-by: Aditya Rajan <arajan@redhat.com>
Diffstat (limited to 'cmd/podman/images/scp.go')
0 files changed, 0 insertions, 0 deletions