Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-05-11 12:09:11 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-05-11 12:09:11 +0300
commite348fb4c1b9eaf21655001dc4346ceb0c0c3d5b4 (patch)
treec11afe15edfe85d809ab0be78a6f52a539d28bec /app/workers
parentce567e98da6118031576d9084d3e05473746e4c6 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/jira_connect/sync_project_worker.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/workers/jira_connect/sync_project_worker.rb b/app/workers/jira_connect/sync_project_worker.rb
index aa9784e4abb..40f225ab756 100644
--- a/app/workers/jira_connect/sync_project_worker.rb
+++ b/app/workers/jira_connect/sync_project_worker.rb
@@ -20,8 +20,11 @@ module JiraConnect
return if project.nil?
- sync_params = { merge_requests: merge_requests_to_sync(project), update_sequence_id: update_sequence_id }
- sync_params[:branches] = branches_to_sync(project) if Feature.enabled?(:jira_connect_sync_branches, project)
+ sync_params = {
+ branches: branches_to_sync(project),
+ merge_requests: merge_requests_to_sync(project),
+ update_sequence_id: update_sequence_id
+ }
JiraConnect::SyncService.new(project).execute(**sync_params)
end