lib/gitlab_exporter/database/base.rb in gitlab-exporter-11.1.0 vs lib/gitlab_exporter/database/base.rb in gitlab-exporter-11.2.0

- old
+ new

@@ -39,11 +39,11 @@ end conn.type_map_for_results = tm end - def initialize(args, logger: nil) - @connection_string = args[:connection_string] + def initialize(connection_string:, logger: nil, **opts) # rubocop:disable Lint/UnusedMethodArgument + @connection_string = connection_string @logger = logger end def run fail NotImplemented