From bbd9bebcc31dc2383482c3415bd298666318113f Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Mon, 18 May 2020 07:31:49 +0200 Subject: [PATCH] Fix "Unknown task: git_fsck" error on admin dashboard (#11468) (#11471) * Fix "Unknown task: git_fsck" error on admin dashboard (#11468) * Update .drone.yml Co-authored-by: zeripath --- .drone.yml | 2 -- options/locale/locale_en-US.ini | 1 - templates/admin/dashboard.tmpl | 4 ++-- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index ac8c92918..1e981c4c1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -106,8 +106,6 @@ services: depends_on: - build when: - branch: - - master event: - push - pull_request diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index f6c9b43ee..d10f4c247 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1872,7 +1872,6 @@ dashboard.resync_all_sshkeys.desc = (Not needed for the built-in SSH server.) dashboard.resync_all_hooks = Resynchronize pre-receive, update and post-receive hooks of all repositories. dashboard.reinit_missing_repos = Reinitialize all missing Git repositories for which records exist dashboard.sync_external_users = Synchronize external user data -dashboard.git_fsck = Execute health checks on all repositories dashboard.server_uptime = Server Uptime dashboard.current_goroutine = Current Goroutines dashboard.current_memory_usage = Current Memory Usage diff --git a/templates/admin/dashboard.tmpl b/templates/admin/dashboard.tmpl index affed1634..0079fc78d 100644 --- a/templates/admin/dashboard.tmpl +++ b/templates/admin/dashboard.tmpl @@ -53,8 +53,8 @@ - {{.i18n.Tr "admin.dashboard.git_fsck"}} - + {{.i18n.Tr "admin.dashboard.repo_health_check"}} + {{.i18n.Tr "admin.dashboard.delete_generated_repository_avatars"}}