diff options
author | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-08-01 20:28:10 +0200 |
---|---|---|
committer | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-08-01 20:28:25 +0200 |
commit | b243c3ea783df5070f889abbefc918f6599a916e (patch) | |
tree | f9cdcc4ffc9b50089c7d3f84dc0c1dd1c5711f9a /lib | |
parent | 6232543db3a784744e1cb03bb6a1a1648bb84b15 (diff) | |
download | gitlab-ce-b243c3ea783df5070f889abbefc918f6599a916e.tar.gz |
Give metric query context rspec examples correctly sounding names. + missing whitespace
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/prometheus/queries/query_additional_metrics.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/prometheus/queries/query_additional_metrics.rb b/lib/gitlab/prometheus/queries/query_additional_metrics.rb index 5827c117556..d96921a9ee7 100644 --- a/lib/gitlab/prometheus/queries/query_additional_metrics.rb +++ b/lib/gitlab/prometheus/queries/query_additional_metrics.rb @@ -51,6 +51,7 @@ module Gitlab query[:query] %= context client_query(query[:query], time: context[:timeframe_end]) end + query[:result] = result&.map(&:deep_symbolize_keys) query end |