diff options
author | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-05-12 13:09:46 +0200 |
---|---|---|
committer | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-05-12 13:09:46 +0200 |
commit | 2a89d2c97dee52121747f933c5786dbf3d78647e (patch) | |
tree | b58b96413b6409dbd73e978d905b6125ca97ff73 /lib | |
parent | 436e90780b88955c946f9a1839342669eb43f525 (diff) | |
download | gitlab-ce-2a89d2c97dee52121747f933c5786dbf3d78647e.tar.gz |
Avoid comma t the end of hash
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/prometheus/queries/deployment_query.rb | 2 | ||||
-rw-r--r-- | lib/gitlab/prometheus/queries/environment_query.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/prometheus/queries/deployment_query.rb b/lib/gitlab/prometheus/queries/deployment_query.rb index 98675c179b1..2cc08731f8d 100644 --- a/lib/gitlab/prometheus/queries/deployment_query.rb +++ b/lib/gitlab/prometheus/queries/deployment_query.rb @@ -19,7 +19,7 @@ module Gitlab::Prometheus::Queries cpu_values: client_query_range(cpu_query, start: timeframe_start, stop: timeframe_end), cpu_before: client_query(cpu_avg_query, time: deployment.created_at.to_f), - cpu_after: client_query(cpu_avg_query, time: timeframe_end), + cpu_after: client_query(cpu_avg_query, time: timeframe_end) } end end diff --git a/lib/gitlab/prometheus/queries/environment_query.rb b/lib/gitlab/prometheus/queries/environment_query.rb index 9981272220e..01d756d7284 100644 --- a/lib/gitlab/prometheus/queries/environment_query.rb +++ b/lib/gitlab/prometheus/queries/environment_query.rb @@ -13,7 +13,7 @@ module Gitlab::Prometheus::Queries memory_values: client_query_range(memory_query, start: timeframe_start, stop: timeframe_end), memory_current: client_query(memory_query, time: timeframe_end), cpu_values: client_query_range(cpu_query, start: timeframe_start, stop: timeframe_end), - cpu_current: client_query(cpu_query, time: timeframe_end), + cpu_current: client_query(cpu_query, time: timeframe_end) } end end |