diff options
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 |