Skip to content

Commit

Permalink
adding lanes to headers
Browse files Browse the repository at this point in the history
Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
  • Loading branch information
vdahiya12 committed Feb 4, 2021
1 parent 424e965 commit 579b599
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions show/muxcable.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def berinfo(port, target):
if res == False or res == -1:
click.echo("Unable to fetch ber info")
sys.exit(EXIT_FAIL)
headers = ['Lane1', 'Lane2']
headers = ['Lane1', 'Lane2', 'Lane3', 'Lane4']
lane_data = []
lane_data.append(res)
click.echo(tabulate(lane_data, headers=headers))
Expand All @@ -376,7 +376,7 @@ def eyeinfo(port, target):
if res == False or res == -1:
click.echo("Unable to fetch eye info")
sys.exit(EXIT_FAIL)
headers = ['Lane1', 'Lane2']
headers = ['Lane1', 'Lane2', 'Lane3', 'Lane4']
lane_data = []
lane_data.append(res)
click.echo(tabulate(lane_data, headers=headers))
Expand Down

0 comments on commit 579b599

Please sign in to comment.