Skip to content

Commit

Permalink
Replace region reference with parent.
Browse files Browse the repository at this point in the history
  • Loading branch information
progala committed Oct 2, 2024
1 parent fee21fd commit 8de2c18
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def load(self):
# Load all Nautobot ancestor records as well
# This is so in case the Nautobot ancestors exist in ServiceNow but aren't linked to the record,
# we link them together instead of creating new, redundant ancestor records in ServiceNow.
ancestor = self.site_filter.region
ancestor = self.site_filter.parent
while ancestor is not None:
try:
self.get(self.location, ancestor.name)
Expand Down

0 comments on commit 8de2c18

Please sign in to comment.