Skip to content

Commit

Permalink
Fix the pre-commit check failures
Browse files Browse the repository at this point in the history
Signed-off-by: saksarav <sakthivadivu.saravanaraj@nokia.com>
  • Loading branch information
saksarav-nokia committed May 21, 2024
1 parent 40a43ea commit e124bff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion scripts/dropconfig
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class DropConfig(object):
if supported_reasons and int(capabilities.get('count', 0)) > 0:
print('\n{}'.format(counter))
for reason in supported_reasons:
print('\t{}'.format(reason))
print(' {}'.format(reason))

def create_counter(self, counter_name, alias, group, counter_type,
description, reasons):
Expand Down
10 changes: 5 additions & 5 deletions tests/drops_group_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
SWITCH_EGRESS_DROPS 2
PORT_INGRESS_DROPS
IP_HEADER_ERROR
NO_L3_HEADER
IP_HEADER_ERROR
NO_L3_HEADER
SWITCH_EGRESS_DROPS
ACL_ANY
L2_ANY
L3_ANY
ACL_ANY
L2_ANY
L3_ANY
"""

expected_counter_configuration = """\
Expand Down

0 comments on commit e124bff

Please sign in to comment.