Skip to content

Commit

Permalink
Fix flake
Browse files Browse the repository at this point in the history
  • Loading branch information
hipek8 committed Jul 5, 2024
1 parent 94eb47c commit 33a8773
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/ralph/dashboards/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def get_preview(self, obj):

get_preview.short_description = _('Graph')


@register(Dashboard)
class DashboardAdmin(RalphAdmin):
list_display = ['name', 'description', 'active', 'get_link']
Expand Down
1 change: 0 additions & 1 deletion src/ralph/operations/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ def _get_related_objects(self, obj, field):
for name, count in objects.most_common()
])


@mark_safe
def get_services(self, obj):
return self._get_related_objects(obj, 'service_env')
Expand Down

0 comments on commit 33a8773

Please sign in to comment.