Skip to content

Commit 2c1d515

Browse files
committed
[*] Fix minor issues
Signed-off-by: Valentino Maiorca <[email protected]>
1 parent 688fe62 commit 2c1d515

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/beers/scripts/beers

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,10 @@ def run_event_listener():
160160
)
161161

162162
for event in events:
163-
nodes: Sequence[Node] = list(client.nodes.list())
164-
logger.warning([node.attrs for node in nodes])
165-
hostname2count: Mapping[str, int] = Counter([node.attrs["Description"]["Hostname"] for node in nodes])
166-
logger.warning(f"{hostname2count=}")
163+
# nodes: Sequence[Node] = list(client.nodes.list())
164+
# logger.warning([node.attrs for node in nodes])
165+
# hostname2count: Mapping[str, int] = Counter([node.attrs["Description"]["Hostname"] for node in nodes])
166+
# logger.warning(f"{hostname2count=}")
167167

168168
# {'Type': 'node', 'Action': 'update',
169169
# 'Actor': {'ID': 'pou5nqcitq0y0x1wmhrrwdn8q', 'Attributes': {'name': __main__: 124

0 commit comments

Comments
 (0)