diff options
Diffstat (limited to 'internal/db/repo.go')
-rw-r--r-- | internal/db/repo.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/db/repo.go b/internal/db/repo.go index 1c85583a..9f17b9a5 100644 --- a/internal/db/repo.go +++ b/internal/db/repo.go @@ -1980,7 +1980,9 @@ func GitFsck() { repo := bean.(*Repository) repoPath := repo.RepoPath() err := git.Fsck(repoPath, git.FsckOptions{ - Args: conf.Cron.RepoHealthCheck.Args, + CommandOptions: git.CommandOptions{ + Args: conf.Cron.RepoHealthCheck.Args, + }, Timeout: conf.Cron.RepoHealthCheck.Timeout, }) if err != nil { |