Skip to content

Fix Ruby 2.7 kwarg warnings for Prometheus specs

Peter Leitzen requested to merge pl-kwargs-warnings-prometheus into master

What does this MR do?

This MR fixes:

spec/lib/gitlab/prometheus/query_variables_spec.rb:12: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call", "spec/lib/gitlab/prometheus/query_variables_spec.rb:12

Part of #257438 (closed)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team
Edited by Peter Leitzen

Merge request reports