From f7f4f389acc0ee9cda9df701c7287298671cffab Mon Sep 17 00:00:00 2001 From: Bharath Vignesh J K <52282402+RazCrimson@users.noreply.github.com> Date: Sun, 7 May 2023 03:49:58 +0530 Subject: [PATCH] chg: containers - tmp fix to make podman work --- glances/plugins/containers/glances_podman.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/glances/plugins/containers/glances_podman.py b/glances/plugins/containers/glances_podman.py index 602d6d52..0a169ba2 100644 --- a/glances/plugins/containers/glances_podman.py +++ b/glances/plugins/containers/glances_podman.py @@ -82,7 +82,8 @@ class PodmanPodStatsFetcher: self._pod_manager = pod_manager # Threaded Streamer - stats_iterable = pod_manager.stats(stream=True, decode=True) + # Temporary patch to get podman extension working + stats_iterable = (pod_manager.stats(decode=True) for _ in iter(int, 1)) self._streamer = StatsStreamer(stats_iterable, initial_stream_value={}) def _log_debug(self, msg, exception=None):