From f1bb1cbb475428b83ccb120b1d1f5ec045c02dc4 Mon Sep 17 00:00:00 2001 From: Mohanarajan Selvaraj Date: Thu, 5 May 2022 09:14:11 -0700 Subject: [PATCH] --- config/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/main.py b/config/main.py index 80fdd8d457..1ef32b3ef7 100644 --- a/config/main.py +++ b/config/main.py @@ -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!")