summaryrefslogtreecommitdiff
path: root/pkg/adapter/runtime_remote.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-04-25 11:16:45 -0700
committerGitHub <noreply@github.com>2019-04-25 11:16:45 -0700
commite900e95f9aa6a22eeef9f78573dfb88df2f10d49 (patch)
treeea8137507f196ad7bdd3a080e4b4e769ce6ecae7 /pkg/adapter/runtime_remote.go
parent36f479097d6617bd4a078144a8709c19f865eb8f (diff)
parent4daac4736e3476211de7c1672bb5161191666a91 (diff)
downloadpodman-e900e95f9aa6a22eeef9f78573dfb88df2f10d49.tar.gz
podman-e900e95f9aa6a22eeef9f78573dfb88df2f10d49.tar.bz2
podman-e900e95f9aa6a22eeef9f78573dfb88df2f10d49.zip
Merge pull request #2990 from nalind/image-parent-child
image: rework parent/child/history matching
Diffstat (limited to 'pkg/adapter/runtime_remote.go')
-rw-r--r--pkg/adapter/runtime_remote.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/adapter/runtime_remote.go b/pkg/adapter/runtime_remote.go
index dcb0924ce..29ee821e0 100644
--- a/pkg/adapter/runtime_remote.go
+++ b/pkg/adapter/runtime_remote.go
@@ -256,7 +256,7 @@ func (r *LocalRuntime) New(ctx context.Context, name, signaturePolicyPath, authf
// IsParent goes through the layers in the store and checks if i.TopLayer is
// the parent of any other layer in store. Double check that image with that
// layer exists as well.
-func (ci *ContainerImage) IsParent() (bool, error) {
+func (ci *ContainerImage) IsParent(context.Context) (bool, error) {
return ci.remoteImage.isParent, nil
}
@@ -338,7 +338,7 @@ func (ci *ContainerImage) History(ctx context.Context) ([]*image.History, error)
}
// PruneImages is the wrapper call for a remote-client to prune images
-func (r *LocalRuntime) PruneImages(all bool) ([]string, error) {
+func (r *LocalRuntime) PruneImages(ctx context.Context, all bool) ([]string, error) {
return iopodman.ImagesPrune().Call(r.Conn, all)
}