Skip to content

Commit

Permalink
This workaround is not needed anymore since
Browse files Browse the repository at this point in the history
  • Loading branch information
indy-independence committed Jan 30, 2024
1 parent 0b62902 commit 2af08d8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/cnaas_nms/devicehandler/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,9 +354,6 @@ def update_linknets(
if not dry_run:
session.add(new_link)
session.commit()
else:
# Make sure linknet object is not added to session because of foreign key load
session.expunge(new_link)
# Make return data pretty
ret_dict = {
**new_link.as_dict(),
Expand Down

0 comments on commit 2af08d8

Please sign in to comment.