Skip to content

Commit

Permalink
Fix instance url
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealHaoLiu committed Sep 13, 2024
1 parent b722f70 commit e7d27ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awx/main/management/commands/disable_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def jobs_pretty(self):
def instance_pretty(self):
instance = (
self.instance.hostname,
urljoin(settings.TOWER_URL_BASE, f"/#/instances/{self.instance.pk}/details"),
urljoin(settings.TOWER_URL_BASE, f"{settings.OPTIONAL_UI_URL_PREFIX}/infrastructure/instances/{self.instance.pk}/details"),
)
return f"[\"{instance[0]}\"]({instance[1]})"

Expand Down

0 comments on commit e7d27ce

Please sign in to comment.