diff options
author | manojmj <mmj@gitlab.com> | 2019-07-24 19:45:50 +0530 |
---|---|---|
committer | manojmj <mmj@gitlab.com> | 2019-07-26 12:25:56 +0530 |
commit | 6cfd13726fbce725633d95140dd0e4bf1779c5db (patch) | |
tree | 25936f473a56b8993bf54fd45f279e0c2975ea26 /lib/api/helpers/runner.rb | |
parent | 2a07275121b9c965bca01767c5ccdb58c6f6e660 (diff) | |
download | gitlab-ce-6cfd13726fbce725633d95140dd0e4bf1779c5db.tar.gz |
CE: Add project download & project export audit eventce-port-4550-add-project-download-export-audit-event
This change adds audit events for
download of repository and export of
project.
Diffstat (limited to 'lib/api/helpers/runner.rb')
-rw-r--r-- | lib/api/helpers/runner.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers/runner.rb b/lib/api/helpers/runner.rb index 100463fcb95..5b87eccf860 100644 --- a/lib/api/helpers/runner.rb +++ b/lib/api/helpers/runner.rb @@ -25,7 +25,7 @@ module API end def get_runner_ip - { ip_address: env["action_dispatch.remote_ip"].to_s || request.ip } + { ip_address: ip_address } end def current_runner |