Update tool dependencies (#29030)

This commit is contained in:
silverwind 2024-02-03 01:11:39 +01:00 committed by GitHub
parent a9bc590d5d
commit a6cea59514
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 5 additions and 12 deletions

View file

@ -91,7 +91,6 @@ func GitGcRepo(ctx context.Context, repo *repo_model.Repository, timeout time.Du
var stdout string
var err error
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)
desc := fmt.Sprintf("Repository garbage collection failed for %s. Stdout: %s\nError: %v", repo.RepoPath(), stdout, err)