Skip to content

Commit bbd9beb

Browse files
6543zeripath
andauthored
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 <[email protected]>
1 parent fb43fbe commit bbd9beb

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

.drone.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,6 @@ services:
106106
depends_on:
107107
- build
108108
when:
109-
branch:
110-
- master
111109
event:
112110
- push
113111
- pull_request

options/locale/locale_en-US.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1872,7 +1872,6 @@ dashboard.resync_all_sshkeys.desc = (Not needed for the built-in SSH server.)
18721872
dashboard.resync_all_hooks = Resynchronize pre-receive, update and post-receive hooks of all repositories.
18731873
dashboard.reinit_missing_repos = Reinitialize all missing Git repositories for which records exist
18741874
dashboard.sync_external_users = Synchronize external user data
1875-
dashboard.git_fsck = Execute health checks on all repositories
18761875
dashboard.server_uptime = Server Uptime
18771876
dashboard.current_goroutine = Current Goroutines
18781877
dashboard.current_memory_usage = Current Memory Usage

templates/admin/dashboard.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
<td><button type="submit" class="ui green button" name="op" value="sync_external_users">{{svg "octicon-triangle-right" 16}} {{.i18n.Tr "admin.dashboard.operation_run"}}</button></td>
5454
</tr>
5555
<tr>
56-
<td>{{.i18n.Tr "admin.dashboard.git_fsck"}}</td>
57-
<td><button type="submit" class="ui green button" name="op" value="git_fsck">{{svg "octicon-triangle-right" 16}} {{.i18n.Tr "admin.dashboard.operation_run"}}</button></td>
56+
<td>{{.i18n.Tr "admin.dashboard.repo_health_check"}}</td>
57+
<td><button type="submit" class="ui green button" name="op" value="repo_health_check">{{svg "octicon-triangle-right" 16}} {{.i18n.Tr "admin.dashboard.operation_run"}}</button></td>
5858
</tr>
5959
<tr>
6060
<td>{{.i18n.Tr "admin.dashboard.delete_generated_repository_avatars"}}</td>

0 commit comments

Comments
 (0)