Skip to content

Commit 9a829b9

Browse files
authored
Fix "Unknown task: git_fsck" error on admin dashboard (#11468)
1 parent 7fd60c6 commit 9a829b9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

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)