Skip to content

Commit

Permalink
chg: containers - tmp fix to make podman work
Browse files Browse the repository at this point in the history
  • Loading branch information
RazCrimson committed May 6, 2023
1 parent 7d952b7 commit f7f4f38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion glances/plugins/containers/glances_podman.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ def __init__(self, pod_manager):
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):
Expand Down

0 comments on commit f7f4f38

Please sign in to comment.