aboutsummaryrefslogtreecommitdiffstats
path: root/services/repository/check.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/repository/check.go')
-rw-r--r--services/repository/check.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/repository/check.go b/services/repository/check.go
index efce308f59..6fb86d0dc3 100644
--- a/services/repository/check.go
+++ b/services/repository/check.go
@@ -77,7 +77,7 @@ func GitGcRepos(ctx context.Context, timeout time.Duration, args ...string) erro
SetDescription(fmt.Sprintf("Repository Garbage Collection: %s", repo.FullName()))
var stdout string
var err error
- stdout, _, err = command.RunWithContextString(&git.RunContext{Timeout: timeout, Dir: repo.RepoPath()})
+ stdout, _, err = command.RunStdString(&git.RunOpts{Timeout: timeout, Dir: repo.RepoPath()})
if err != nil {
log.Error("Repository garbage collection failed for %v. Stdout: %s\nError: %v", repo, stdout, err)