summaryrefslogtreecommitdiff
path: root/pkg/adapter/containers_remote.go
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2019-04-23 09:45:58 -0700
committerJhon Honce <jhonce@redhat.com>2019-04-30 08:21:14 -0700
commit1b2419ceb15b3c29b71c7d909ae143670d8a3a36 (patch)
treeabccda8c921bb7c2fed544dcf2fa8932164c44f0 /pkg/adapter/containers_remote.go
parent488117cb99705f6766ee82b78063951f87099b5b (diff)
downloadpodman-1b2419ceb15b3c29b71c7d909ae143670d8a3a36.tar.gz
podman-1b2419ceb15b3c29b71c7d909ae143670d8a3a36.tar.bz2
podman-1b2419ceb15b3c29b71c7d909ae143670d8a3a36.zip
Refactor container cleanup to use latest functions
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg/adapter/containers_remote.go')
-rw-r--r--pkg/adapter/containers_remote.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/adapter/containers_remote.go b/pkg/adapter/containers_remote.go
index 93875dd8a..bcd29be38 100644
--- a/pkg/adapter/containers_remote.go
+++ b/pkg/adapter/containers_remote.go
@@ -880,3 +880,8 @@ func (r *LocalRuntime) Prune(ctx context.Context, maxWorkers int, force bool) ([
}
return ok, failures, nil
}
+
+// Cleanup any leftovers bits of stopped containers
+func (r *LocalRuntime) CleanupContainers(ctx context.Context, cli *cliconfig.CleanupValues) ([]string, map[string]error, error) {
+ return nil, nil, errors.New("container cleanup not supported for remote clients")
+}