diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-05-05 17:25:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-05 17:25:04 +0200 |
commit | e6235ef8f1a3111f8f1afbb1bf64f0e6da704a5b (patch) | |
tree | 0e9adb10b78b589120b81b49c46b41cc75da7966 /pkg/domain/infra/tunnel/images.go | |
parent | 4a1331d0afd9a21ff9465916d4006ff7297ae07c (diff) | |
parent | 7f97896c59d23d9dda704b19203a9ceb49b57237 (diff) | |
download | podman-e6235ef8f1a3111f8f1afbb1bf64f0e6da704a5b.tar.gz podman-e6235ef8f1a3111f8f1afbb1bf64f0e6da704a5b.tar.bz2 podman-e6235ef8f1a3111f8f1afbb1bf64f0e6da704a5b.zip |
Merge pull request #6076 from vrothberg/rmi-v2.2
image removal: refactor part 2
Diffstat (limited to 'pkg/domain/infra/tunnel/images.go')
-rw-r--r-- | pkg/domain/infra/tunnel/images.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/domain/infra/tunnel/images.go b/pkg/domain/infra/tunnel/images.go index dcc5fc3e7..00893194c 100644 --- a/pkg/domain/infra/tunnel/images.go +++ b/pkg/domain/infra/tunnel/images.go @@ -20,8 +20,8 @@ func (ir *ImageEngine) Exists(_ context.Context, nameOrId string) (*entities.Boo return &entities.BoolReport{Value: found}, err } -func (ir *ImageEngine) Remove(ctx context.Context, imagesArg []string, opts entities.ImageRemoveOptions) (*entities.ImageRemoveReport, error) { - return images.Remove(ir.ClientCxt, imagesArg, opts) +func (ir *ImageEngine) Remove(ctx context.Context, imagesArg []string, opts entities.ImageRemoveOptions) (*entities.ImageRemoveReport, []error) { + return images.BatchRemove(ir.ClientCxt, imagesArg, opts) } func (ir *ImageEngine) List(ctx context.Context, opts entities.ImageListOptions) ([]*entities.ImageSummary, error) { |