Skip to content

Commit

Permalink
Rename table
Browse files Browse the repository at this point in the history
  • Loading branch information
TACappleman committed Oct 21, 2021
1 parent a20ee65 commit 74a0221
Show file tree
Hide file tree
Showing 2 changed files with 165 additions and 165 deletions.
6 changes: 3 additions & 3 deletions config/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ def _clear_qos():
'MAP_PFC_PRIORITY_TO_QUEUE',
'TC_TO_QUEUE_MAP',
'DSCP_TO_TC_MAP',
'EXP_TO_TC_MAP',
'MPLS_TC_TO_TC_MAP',
'SCHEDULER',
'PFC_PRIORITY_TO_PRIORITY_GROUP_MAP',
'PORT_QOS_MAP',
Expand Down Expand Up @@ -4044,7 +4044,7 @@ def add(ctx, interface_name):
if interface_name is None:
ctx.fail("'interface_name' is None!")

table_name = get_interface_table_name(interface_name)
table_name = get_interface_table_name(interface_name)
if not clicommon.is_interface_in_config_db(config_db, interface_name):
ctx.fail('interface {} doesn`t exist'.format(interface_name))
if table_name == "":
Expand All @@ -4066,7 +4066,7 @@ def remove(ctx, interface_name):
if interface_name is None:
ctx.fail("'interface_name' is None!")

table_name = get_interface_table_name(interface_name)
table_name = get_interface_table_name(interface_name)
if not clicommon.is_interface_in_config_db(config_db, interface_name):
ctx.fail('interface {} doesn`t exist'.format(interface_name))
if table_name == "":
Expand Down
Loading

0 comments on commit 74a0221

Please sign in to comment.