chg: containers - tmp fix to make podman work

This commit is contained in:
Bharath Vignesh J K 2023-05-07 03:49:58 +05:30
parent 7d952b78c2
commit f7f4f389ac

View File

@ -82,7 +82,8 @@ class PodmanPodStatsFetcher:
self._pod_manager = pod_manager self._pod_manager = pod_manager
# Threaded Streamer # 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={}) self._streamer = StatsStreamer(stats_iterable, initial_stream_value={})
def _log_debug(self, msg, exception=None): def _log_debug(self, msg, exception=None):