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

Commit 0f27782

Browse files
committed
format
1 parent aa71dd8 commit 0f27782

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

main.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func main() {
6868
}
6969

7070
// prepare metric prefix
71-
if *metricPrefix != "" && (*metricPrefix)[len(*metricPrefix) - 1:] != "." {
71+
if *metricPrefix != "" && (*metricPrefix)[len(*metricPrefix)-1:] != "." {
7272
*metricPrefix = *metricPrefix + "."
7373
}
7474

@@ -245,7 +245,6 @@ func handleGaugeRequest(w http.ResponseWriter, r *http.Request) {
245245
// send gauge value request
246246
statsdClient.Gauge(key, value)
247247

248-
249248
}
250249

251250
// Handle StatsD Timing request

0 commit comments

Comments
 (0)