Add FakeApplicationSettings#commit_email_hostname
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
806ea5762b
commit
ecb847fd30
2 changed files with 9 additions and 0 deletions
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Fix a 500 error that could occur until all migrations are done
|
||||
merge_request: 23939
|
||||
author:
|
||||
type: fixed
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue