From e401b8d5272442a162bd01a125d83bad7786fc4c Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Wed, 8 Jul 2020 14:12:10 +0300 Subject: [PATCH] lib/protoparser/graphite: go fmt --- lib/protoparser/graphite/parser_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/protoparser/graphite/parser_test.go b/lib/protoparser/graphite/parser_test.go index 965da55f8..6c299d0f7 100644 --- a/lib/protoparser/graphite/parser_test.go +++ b/lib/protoparser/graphite/parser_test.go @@ -88,8 +88,8 @@ func TestRowsUnmarshalSuccess(t *testing.T) { }) f("aaa 1123 -1", &Rows{ Rows: []Row{{ - Metric: "aaa", - Value: 1123, + Metric: "aaa", + Value: 1123, Timestamp: -1, }}, }) @@ -189,19 +189,19 @@ func Test_streamContext_Read(t *testing.T) { Rows: []Row{{ Metric: "aaa", Value: 1123, - Timestamp: 345*1000, + Timestamp: 345 * 1000, }}, }) // Full line with tags f("aaa;x=y 1123 345", &Rows{ Rows: []Row{{ - Metric: "aaa", + Metric: "aaa", Tags: []Tag{{ - Key: "x", + Key: "x", Value: "y", }}, Value: 1123, - Timestamp: 345*1000, + Timestamp: 345 * 1000, }}, }) // missing timestamp.