diff options
Diffstat (limited to 'models/repo_avatar.go')
-rw-r--r-- | models/repo_avatar.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo_avatar.go b/models/repo_avatar.go index bb5f083dd5..6c5e03c0d0 100644 --- a/models/repo_avatar.go +++ b/models/repo_avatar.go @@ -64,7 +64,7 @@ func RemoveRandomAvatars(ctx context.Context) error { repository := bean.(*Repository) select { case <-ctx.Done(): - return ErrCancelledf("before random avatars removed for %s", repository.FullName()) + return db.ErrCancelledf("before random avatars removed for %s", repository.FullName()) default: } stringifiedID := strconv.FormatInt(repository.ID, 10) |