Skip to content

Commit

Permalink
fix bug related to accelerated network (#57)
Browse files Browse the repository at this point in the history
Co-authored-by: Ubuntu <rafsalas@ub22h3e8f000003.dqjt2vfkzmou3mpiz4ibgqqi1c.ax.internal.cloudapp.net>
  • Loading branch information
rafsalas19 and Ubuntu authored May 17, 2023
1 parent 7544437 commit dd6fe32
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/worker/exporters/node_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,8 @@ def init_ib_config():
config['counter']['link_flap'] = {}
result = result.split('\n')[1:]
for ib in result:
if "ib" not in ib:
continue
if len(ib):
mapping = re.search(r"ib\d", ib.strip()).group()
config['counter']['link_flap'][mapping] = {}
Expand Down

0 comments on commit dd6fe32

Please sign in to comment.