mirror of https://github.com/containers/podman.git
pkg/bindings/containers/archive.go: drop TODO
We are already passed 4.0 and a wrapper like this really does not hurt. Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
parent
60e31d87d1
commit
462cb3370d
|
@ -55,8 +55,6 @@ func CopyFromArchive(ctx context.Context, nameOrID string, path string, reader i
|
||||||
}
|
}
|
||||||
|
|
||||||
// CopyFromArchiveWithOptions copy files into container
|
// CopyFromArchiveWithOptions copy files into container
|
||||||
//
|
|
||||||
// FIXME: remove this function and make CopyFromArchive accept the option as the last parameter in podman 4.0
|
|
||||||
func CopyFromArchiveWithOptions(ctx context.Context, nameOrID string, path string, reader io.Reader, options *CopyOptions) (entities.ContainerCopyFunc, error) {
|
func CopyFromArchiveWithOptions(ctx context.Context, nameOrID string, path string, reader io.Reader, options *CopyOptions) (entities.ContainerCopyFunc, error) {
|
||||||
conn, err := bindings.GetClient(ctx)
|
conn, err := bindings.GetClient(ctx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue