diff options
author | Felipe Artur <felipefac@gmail.com> | 2018-07-27 00:30:50 +0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2018-07-27 00:30:50 +0300 |
commit | 13ea4b387ddcee5f5e8a59ac90dc9e485f4242f5 (patch) | |
tree | ea588d7aecbaa8868f23addf50748a14d167e342 /lib/api | |
parent | caeb4597a5b24e0eaa96b24901ce9208c2eef4bf (diff) | |
parent | 45c94aba1b90dbe86c5583c8782cc3f624249fa1 (diff) |
Merge remote-tracking branch 'dev/master'
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/runner.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/api/runner.rb b/lib/api/runner.rb index d0cc0945a5f..06c034444a1 100644 --- a/lib/api/runner.rb +++ b/lib/api/runner.rb @@ -108,8 +108,7 @@ module API if result.valid? if result.build - Gitlab::Metrics.add_event(:build_found, - project: result.build.project.full_path) + Gitlab::Metrics.add_event(:build_found) present result.build, with: Entities::JobRequest::Response else Gitlab::Metrics.add_event(:build_not_found) @@ -140,8 +139,7 @@ module API job.trace.set(params[:trace]) if params[:trace] - Gitlab::Metrics.add_event(:update_build, - project: job.project.full_path) + Gitlab::Metrics.add_event(:update_build) case params[:state].to_s when 'running' |