Skip to content

Commit

Permalink
Update nautobot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardocastaldo authored and Kircheneer committed Nov 28, 2023
1 parent 2555c29 commit 39c0721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nautobot_ssot/integrations/aristacv/utils/nautobot.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def get_device_version(device):
"""
version = ""
if LIFECYCLE_MGMT:
software_relation = Relationship.objects.get(name="Software on Device")
software_relation = Relationship.objects.get(label="Software on Device")
relations = device.get_relationships()
try:
assigned_versions = relations["destination"][software_relation]
Expand Down

0 comments on commit 39c0721

Please sign in to comment.