Cleanup useless warnings for podman

Both "cleanup" and "delete" commands are supported when podman is the
container cli. The warnings were probably added when podman didn't
support them but now we have the code in Paunch which can rename
containers, needed by these functions.

Change-Id: I7025cb7fee5362adcba7d8539916a705a0ed2f87
This commit is contained in:
Emilien Macchi 2019-09-17 09:45:21 -04:00
parent f20c8f8158
commit 31b050120b
1 changed files with 0 additions and 2 deletions

View File

@ -101,7 +101,6 @@ def cleanup(config_ids, managed_by, cont_cmd='podman', default_runtime=None,
if cont_cmd == 'podman':
r = runner.PodmanRunner(managed_by, cont_cmd=cont_cmd, log=log)
log.warning("paunch cleanup is partially supported with podman")
else:
r = runner.DockerRunner(managed_by, cont_cmd=cont_cmd, log=log)
@ -247,7 +246,6 @@ def delete(config_ids, managed_by, cont_cmd='podman', default_runtime=None,
if cont_cmd == 'podman':
r = runner.PodmanRunner(managed_by, cont_cmd=cont_cmd, log=log)
log.warning("paunch cleanup is partially supported with podman")
else:
r = runner.DockerRunner(managed_by, cont_cmd=cont_cmd, log=log)