Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update modules/repository/check.go
Co-authored-by: Lauris BH <[email protected]>
  • Loading branch information
zeripath and lafriks authored Mar 27, 2021
commit 8125754f45ace8f566faf4b6a9c15d2ce6bdead7
2 changes: 1 addition & 1 deletion modules/repository/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func GitGcRepos(ctx context.Context, timeout time.Duration, args ...string) erro
// Now update the size of the repository
if err := repo.UpdateSize(models.DefaultDBContext()); err != nil {
log.Error("Updating size as part of garbage collection failed for %v. Stdout: %s\nError: %v", repo, stdout, err)
desc := fmt.Sprintf("Updating size as part of garbage collection failed for %s. Stdout: %s\nError: %v", repo.RepoPath(), stdout, err)
desc := fmt.Sprintf("Updating size as part of garbage collection failed for %s. Stdout: %s\nError: %v", repo.RepoPath(), stdout, err)
if err = models.CreateRepositoryNotice(desc); err != nil {
log.Error("CreateRepositoryNotice: %v", err)
}
Expand Down