Handle unavailable Runner management for release info

This commit is contained in:
Sebastian Serth
2021-12-09 19:24:57 +01:00
parent f099a9c77e
commit bd23247975
2 changed files with 7 additions and 1 deletions

View File

@ -29,5 +29,11 @@ module Admin
template.merge(actual)
end
end
def self.runner_management_release
Runner.strategy_class.release
rescue Runner::Error => e
e.inspect
end
end
end

View File

@ -20,7 +20,7 @@ div.mb-4
= Runner.strategy_class.name.demodulize
=< t("admin.dashboard.show.release")
| :
pre = Runner.strategy_class.release
pre = Admin::DashboardHelper.runner_management_release
h2 Docker