summaryrefslogtreecommitdiff
path: root/cmd/podman/cleanup.go
diff options
context:
space:
mode:
authorAdrian Reber <areber@redhat.com>2018-10-16 13:36:08 +0000
committerAdrian Reber <adrian@lisas.de>2018-10-23 17:01:30 +0200
commit215cf7b8984f687a79ce6055e350ee3e75d81b79 (patch)
treecee7b4e8abd1a84f498b6d2db389cd84580ef6bb /cmd/podman/cleanup.go
parent9d9493e41a2d9fb79221986507d1789265355d2d (diff)
downloadpodman-215cf7b8984f687a79ce6055e350ee3e75d81b79.tar.gz
podman-215cf7b8984f687a79ce6055e350ee3e75d81b79.tar.bz2
podman-215cf7b8984f687a79ce6055e350ee3e75d81b79.zip
Also factor out getAllOrLatestContainers() function
Just as the checkAllAndLatest() function the new code in getAllOrLatestContainers() is used in some commands and duplicated. This factors out this code to be used in other places without duplicating it. Signed-off-by: Adrian Reber <areber@redhat.com>
Diffstat (limited to 'cmd/podman/cleanup.go')
0 files changed, 0 insertions, 0 deletions