Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 94ce509

Browse files
author
Vicent Marti
committed
Ooops...
1 parent 8ea82e2 commit 94ce509

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/statsd.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def send(stat, delta, type, sample_rate=1)
119119
sampled(sample_rate) do
120120
prefix = "#{@namespace}." unless @namespace.nil?
121121
stat = stat.to_s.gsub('::', '.').gsub(RESERVED_CHARS_REGEX, '_')
122-
msg = "#{prefix}#{stat}:#{delta}|#{type}#{'|@' << sample_rate.to_s if sample_rate < 1}")
122+
msg = "#{prefix}#{stat}:#{delta}|#{type}#{'|@' << sample_rate.to_s if sample_rate < 1}"
123123
send_to_socket(select_host(stat), msg)
124124
end
125125
end

0 commit comments

Comments
 (0)