mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-24 09:44:48 +03:00
chg: containers - tmp fix to make podman work
This commit is contained in:
parent
7d952b78c2
commit
f7f4f389ac
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user