Skip to content

Commit

Permalink
black run
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris Litvinenko committed Oct 2, 2024
1 parent 9b222ee commit 8f23de4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions yanet-announcer.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ def bgp_update(prefix_list):
except Exception as error:
LOGGER.error("Can not update bgp prefix: %s with error: %s", prefix, error)


def bgp_remove(prefix_list):
for prefix in prefix_list:
try:
Expand All @@ -166,6 +167,7 @@ def bgp_remove(prefix_list):
except Exception as error:
LOGGER.error("Can not remove bgp prefix: %s with error: %s", prefix, error)


def get_announces(types):
for type in types:
table_decap = Executer.get(f"yanet-cli {type}")
Expand Down

0 comments on commit 8f23de4

Please sign in to comment.