summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Javier López <fjlopez@gitlab.com>2018-07-27 10:46:11 -0400
committerFrancisco Javier López <fjlopez@gitlab.com>2018-07-27 10:46:11 -0400
commit27a3db21bb444c49da0516421532c55414d9785d (patch)
tree194721ec7a9dcce881fd2ab99fd21aeea12e17e9
parenta0d3d246aff84bc200699a170eec1cec70c29522 (diff)
downloadgitlab-ce-27a3db21bb444c49da0516421532c55414d9785d.tar.gz
Removed unnecessary dup
-rw-r--r--app/services/git_push_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/git_push_service.rb b/app/services/git_push_service.rb
index 978911bf60b..d21ebf7da55 100644
--- a/app/services/git_push_service.rb
+++ b/app/services/git_push_service.rb
@@ -151,7 +151,7 @@ class GitPushService < BaseService
EventCreateService.new.push(project, current_user, push_data)
Ci::CreatePipelineService.new(project, current_user, push_data).execute(:push)
- SystemHookPushWorker.perform_async(push_data.dup, :push_hooks)
+ SystemHookPushWorker.perform_async(push_data, :push_hooks)
project.execute_hooks(push_data.dup, :push_hooks)
project.execute_services(push_data.dup, :push_hooks)