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>2020-04-30 12:09:39 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-04-30 12:09:39 +0300
commitada214dc52b53bd9eb3a79c279506f91c547f721 (patch)
treef4266ef83f9be3a62a0f8942911058758655929a /lib/gitlab/jira_import
parent27b43bd4d613cc7b8773ca0863b8d8f9b90f6d87 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/jira_import')
-rw-r--r--lib/gitlab/jira_import/labels_importer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/jira_import/labels_importer.rb b/lib/gitlab/jira_import/labels_importer.rb
index f1f5708865a..6e6842e06bf 100644
--- a/lib/gitlab/jira_import/labels_importer.rb
+++ b/lib/gitlab/jira_import/labels_importer.rb
@@ -39,7 +39,7 @@ module Gitlab
def process_jira_page(start_at)
request = "/rest/api/2/label?maxResults=#{MAX_LABELS}&startAt=#{start_at}"
- response = JSON.parse(client.get(request))
+ response = client.get(request)
return true if response['values'].blank?
return true unless response.key?('isLast')