diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-12-10 01:45:13 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-12-10 01:45:13 +0800 |
commit | 57e3e942de1adef2c8621905370f07d7da7870c4 (patch) | |
tree | c460177a357cede978769e1f7b31277a0236a38d /lib | |
parent | 5430122c56928849df44520353342150d8f37d51 (diff) | |
download | gitlab-ce-57e3e942de1adef2c8621905370f07d7da7870c4.tar.gz |
Don't pass the actor for deploy key, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7383#note_19579483
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/git_access.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/git_access.rb b/lib/gitlab/git_access.rb index 412f42c6320..d483038e8e9 100644 --- a/lib/gitlab/git_access.rb +++ b/lib/gitlab/git_access.rb @@ -189,6 +189,8 @@ module Gitlab case actor when User actor + when DeployKey + nil when Key actor.user end |