Skip to content

Commit

Permalink
Fix Naming/MemoizedInstanceVariableName
Browse files Browse the repository at this point in the history
  • Loading branch information
barrucadu committed Jul 20, 2020
1 parent 851e031 commit 799fe6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/govuk_app_config/govuk_statsd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module GovukStatsd
:gauge, :set, :batch

def self.client
@statsd_client ||= begin
@client ||= begin
statsd_client = ::Statsd.new("localhost")
statsd_client.namespace = ENV["GOVUK_STATSD_PREFIX"].to_s
statsd_client
Expand Down

0 comments on commit 799fe6b

Please sign in to comment.