Skip to content

Commit

Permalink
cleanup add_available_asns
Browse files Browse the repository at this point in the history
  • Loading branch information
mzbroch committed Apr 3, 2024
1 parent 341845b commit 9de4231
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nautobot_bgp_models/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,5 @@ def add_available_asns(instance, asns):
new_list.append({"asn": instance.asn_min, "available": instance.asn_max - instance.asn_min + 1})
elif last_asn < instance.asn_max:
new_list.append({"asn": last_asn + 1, "available": instance.asn_max - last_asn})
# last_asn = asn_val.asn

return new_list

0 comments on commit 9de4231

Please sign in to comment.