summaryrefslogtreecommitdiff
path: root/app/services/metrics
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/metrics')
-rw-r--r--app/services/metrics/dashboard/grafana_metric_embed_service.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/services/metrics/dashboard/grafana_metric_embed_service.rb b/app/services/metrics/dashboard/grafana_metric_embed_service.rb
index e94c8d92c3a..26ccded45f8 100644
--- a/app/services/metrics/dashboard/grafana_metric_embed_service.rb
+++ b/app/services/metrics/dashboard/grafana_metric_embed_service.rb
@@ -51,8 +51,7 @@ module Metrics
# being passed to #get_dashboard (which accepts none)
::Metrics::Dashboard::BaseService
.instance_method(:get_dashboard)
- .bind(self)
- .call() # rubocop:disable Style/MethodCallWithoutArgsParentheses
+ .bind_call(self)
end
def cache_key(*args)