diff options
Diffstat (limited to 'models/repo_indexer.go')
-rw-r--r-- | models/repo_indexer.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/models/repo_indexer.go b/models/repo_indexer.go index bfeeca26e9..9a7daa0ff8 100644 --- a/models/repo_indexer.go +++ b/models/repo_indexer.go @@ -113,7 +113,7 @@ func populateRepoIndexer(maxRepoID int64) { Limit(RepositoryListDefaultPageSize). Find(&repos) if err != nil { - log.Error(4, "populateRepoIndexer: %v", err) + log.Error("populateRepoIndexer: %v", err) return } else if len(repos) == 0 { break @@ -314,11 +314,11 @@ func processRepoIndexerOperationQueue() { op := <-repoIndexerOperationQueue if op.deleted { if err := indexer.DeleteRepoFromIndexer(op.repo.ID); err != nil { - log.Error(4, "DeleteRepoFromIndexer: %v", err) + log.Error("DeleteRepoFromIndexer: %v", err) } } else { if err := updateRepoIndexer(op.repo); err != nil { - log.Error(4, "updateRepoIndexer: %v", err) + log.Error("updateRepoIndexer: %v", err) } } } |