Skip to content

Commit

Permalink
Fix pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
deepak-singhal0408 committed Sep 12, 2024
1 parent 1be2e98 commit d19ac1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/route_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ def is_suppress_fib_pending_enabled(namespace):

return state == 'enabled'


def fetch_routes(cmd):
"""
Fetch routes using the given command.
Expand Down Expand Up @@ -747,7 +748,6 @@ def check_routes_for_namespace(namespace):
rt_asic_miss = filter_out_standalone_tunnel_routes(namespace, rt_asic_miss)
rt_asic_miss = filter_out_soc_ip_routes(namespace, rt_asic_miss)


# Check APPL-DB INTF_TABLE with ASIC table route entries
intf_appl_miss, _ = diff_sorted_lists(intf_appl, rt_asic)

Expand Down Expand Up @@ -795,6 +795,7 @@ def check_routes_for_namespace(namespace):

return results, adds, deletes


def check_routes(namespace):
"""
Main function to parallelize route checks across all namespaces.
Expand Down Expand Up @@ -892,6 +893,5 @@ def main():
return ret, res



if __name__ == "__main__":
sys.exit(main()[0])

0 comments on commit d19ac1e

Please sign in to comment.