Skip to content

Commit

Permalink
fixed error '@switchport.add_command('mode')' to '@switchport.command…
Browse files Browse the repository at this point in the history
…('mode')'
  • Loading branch information
MuhammadUmarAsad committed Oct 14, 2022
1 parent 6b3ac13 commit 45fe3b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/switchport.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def switchport():
pass


@switchport.add_command("mode")
@switchport.command("mode")
@click.argument("type", metavar="<mode_type>", Required=True, type=click.Choice(["access", "trunk", "routed"]))
@click.argument("port", metavar="port", required=True)
@clicommon.pass_db
Expand Down

0 comments on commit 45fe3b8

Please sign in to comment.