Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
mohan-selvaraj committed May 5, 2022
1 parent 5b63779 commit f1bb1cb
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 @@ -636,7 +636,7 @@ def _clear_cbf():

#API to validate the interface passed for storm-control configuration
def storm_control_interface_validate(port_name):
if get_interface_naming_mode() == "alias":
if clicommon.get_interface_naming_mode() == "alias":
port_name = interface_alias_to_name(None, port_name)
if port_name is None:
click.echo("'port_name' is None!")
Expand Down

0 comments on commit f1bb1cb

Please sign in to comment.