Skip to content

Commit

Permalink
[sonic-utilities/config]: Fix Config Command for Change Port Speed (s…
Browse files Browse the repository at this point in the history
…onic-net#398)

* Fix Unexpected keyword argument when changing port speed using config
command

Signed-off-by: gene_kuo@edge-core.com

Fixes sonic-net#397
  • Loading branch information
ching-kuo authored and jleveque committed Nov 30, 2018
1 parent db550e0 commit c541aad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ def shutdown(ctx):
@click.pass_context
@click.argument('interface_speed', metavar='<interface_speed>', required=True)
@click.option('-v', '--verbose', is_flag=True, help="Enable verbose output")
def speed(ctx, verbose):
def speed(ctx, interface_speed, verbose):
"""Set interface speed"""
interface_name = ctx.obj['interface_name']

Expand Down

0 comments on commit c541aad

Please sign in to comment.