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
path: root/lib
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-04-14 12:09:34 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-04-14 12:09:34 +0300
commit97f0ae7454597105a27df65ffb772949d9d4f3cb (patch)
tree0bf4888e0e9082c8f168a211390a73a6ae810cef /lib
parent5ebc4d92cd5fbb46c627eb04d500384893dbe2b4 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib')
-rw-r--r--lib/api/entities/project_import_status.rb2
-rw-r--r--lib/gitlab/path_regex.rb1
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/api/entities/project_import_status.rb b/lib/api/entities/project_import_status.rb
index 9b7a2bd1f3e..de7b4b998be 100644
--- a/lib/api/entities/project_import_status.rb
+++ b/lib/api/entities/project_import_status.rb
@@ -5,7 +5,7 @@ module API
class ProjectImportStatus < ProjectIdentity
expose :import_status
expose :correlation_id do |project, _options|
- project.import_state.correlation_id
+ project.import_state&.correlation_id
end
# TODO: Use `expose_nil` once we upgrade the grape-entity gem
diff --git a/lib/gitlab/path_regex.rb b/lib/gitlab/path_regex.rb
index df48e347511..d95da262eea 100644
--- a/lib/gitlab/path_regex.rb
+++ b/lib/gitlab/path_regex.rb
@@ -98,7 +98,6 @@ module Gitlab
preview
raw
refs
- sse
tree
update
wikis