change gitolite backend behaviour to prevent error when config directory removed
This commit is contained in:
parent
79021e674b
commit
b994a65fc3
2 changed files with 7 additions and 5 deletions
|
@ -5,7 +5,7 @@ module Gitlab
|
|||
class AccessDenied < StandardError; end
|
||||
|
||||
def config
|
||||
@config ||= Gitlab::GitoliteConfig.new
|
||||
Gitlab::GitoliteConfig.new
|
||||
end
|
||||
|
||||
def set_key key_id, key_content, projects
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue