Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ecb847fd
Commit
ecb847fd
authored
Dec 19, 2018
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add FakeApplicationSettings#commit_email_hostname
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
806ea576
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
changelogs/unreleased/54953-fix-commit_email_hostname-accessor-in-fake_application_settings.yml
..._email_hostname-accessor-in-fake_application_settings.yml
+5
-0
lib/gitlab/fake_application_settings.rb
lib/gitlab/fake_application_settings.rb
+4
-0
No files found.
changelogs/unreleased/54953-fix-commit_email_hostname-accessor-in-fake_application_settings.yml
0 → 100644
View file @
ecb847fd
---
title
:
Fix a 500 error that could occur until all migrations are done
merge_request
:
23939
author
:
type
:
fixed
lib/gitlab/fake_application_settings.rb
View file @
ecb847fd
...
...
@@ -37,5 +37,9 @@ module Gitlab
def
pick_repository_storage
repository_storages
.
sample
end
def
commit_email_hostname
super
.
presence
||
ApplicationSetting
.
default_commit_email_hostname
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment