diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-04-06 16:36:56 +0300 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-04-06 19:45:16 +0300 |
commit | bafec400f153153cad3920ff128e5ba4ccc8ebf7 (patch) | |
tree | bc1f4893abeea2f224ada8af654adb643f403336 /app/workers | |
parent | 9c2301808b2d96d41d8972d114c9f77dd2b2471f (diff) | |
download | gitlab-ce-bafec400f153153cad3920ff128e5ba4ccc8ebf7.tar.gz |
CI forking: tests
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/fork_registration_worker.rb (renamed from app/workers/fork_registrator_worker.rb) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/workers/fork_registrator_worker.rb b/app/workers/fork_registration_worker.rb index 49d040d65ee..fffa8b3a659 100644 --- a/app/workers/fork_registrator_worker.rb +++ b/app/workers/fork_registration_worker.rb @@ -1,4 +1,4 @@ -class ForkRegistratorWorker +class ForkRegistrationWorker include Sidekiq::Worker sidekiq_options queue: :default @@ -7,6 +7,6 @@ class ForkRegistratorWorker from_project = Project.find(from_project_id) to_project = Project.find(to_project_id) - from_project.gitlab_ci_service.register_fork(to_project, private_token) + from_project.gitlab_ci_service.fork_registration(to_project, private_token) end end |