Commit 57e3e942 authored by Lin Jen-Shin's avatar Lin Jen-Shin

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

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7383#note_19579483
parent 5430122c
......@@ -189,6 +189,8 @@ module Gitlab
case actor
when User
actor
when DeployKey
nil
when Key
actor.user
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment