From 31b050120be4f78ca145e5c0cd710e51009c1b5b Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Tue, 17 Sep 2019 09:45:21 -0400 Subject: [PATCH] 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 --- paunch/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/paunch/__init__.py b/paunch/__init__.py index c6f4868..11dbc02 100644 --- a/paunch/__init__.py +++ b/paunch/__init__.py @@ -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)