Don't pass the actor for deploy key, feedback:

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7383#note_19579483
This commit is contained in:
Lin Jen-Shin 2016-12-10 01:45:13 +08:00
parent 5430122c56
commit 57e3e942de
1 changed files with 2 additions and 0 deletions

View File

@ -189,6 +189,8 @@ module Gitlab
case actor
when User
actor
when DeployKey
nil
when Key
actor.user
end