Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
timothysmith0609 committed Nov 27, 2018
1 parent dcf9e1a commit 9113037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kubernetes-deploy/statsd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def self.build

def self.capture_statsd_calls(&block)
mock_backend = ::StatsD::Instrument::Backends::CaptureBackend.new
old_backend, self.backend = StatsD.backend, mock_backend
old_backend, self.backend = self.backend, mock_backend
block.call
mock_backend.collected_metrics
ensure
Expand Down

0 comments on commit 9113037

Please sign in to comment.