Skip to content

Commit

Permalink
[ciscoPfcExtMIB]: Remove returning first intf index if subid is empty
Browse files Browse the repository at this point in the history
Signed-off-by: Suvarna Meenakshi <[email protected]>
  • Loading branch information
SuvarnaMeenakshi committed Jul 3, 2024
1 parent f652948 commit b89ec3f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/sonic_ax_impl/mibs/vendor/cisco/ciscoPfcExtMIB.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ def get_next(self, sub_id):
:return: the next sub id.
"""
try:
if not sub_id:
return self.if_range[0]

right = bisect_right(self.if_range, sub_id)
if right >= len(self.if_range):
return None
Expand Down

0 comments on commit b89ec3f

Please sign in to comment.