Commit 50320fb3 authored by Valery Sizov's avatar Valery Sizov

ES: code style fix

parent b713eab5
......@@ -66,8 +66,8 @@ class GitPushService
project.execute_services(@push_data.dup, :push_hooks)
if Gitlab.config.elasticsearch.enabled
project.repository.index_commits(from_rev: oldrev,to_rev: newrev)
project.repository.index_blobs(from_rev: oldrev,to_rev: oldrev)
project.repository.index_commits(from_rev: oldrev, to_rev: newrev)
project.repository.index_blobs(from_rev: oldrev, to_rev: oldrev)
end
CreateCommitBuildsService.new.execute(project, @user, @push_data, mirror_update: mirror_update)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment