File tree 2 files changed +4
-3
lines changed 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,10 @@ import (
22
22
"strconv"
23
23
"strings"
24
24
25
- "github.com/prometheus/common/model"
26
25
"google.golang.org/protobuf/types/known/timestamppb"
27
26
27
+ "github.com/prometheus/common/model"
28
+
28
29
dto "github.com/prometheus/client_model/go"
29
30
)
30
31
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ func TestCreateOpenMetrics(t *testing.T) {
32
32
t .Error (err )
33
33
}
34
34
35
- var scenarios = []struct {
35
+ scenarios : = []struct {
36
36
in * dto.MetricFamily
37
37
options []ToOpenMetricsOption
38
38
out string
@@ -543,7 +543,7 @@ foos_created 12345.6
543
543
Help : proto .String ("Number of foos." ),
544
544
Type : dto .MetricType_COUNTER .Enum (),
545
545
Metric : []* dto.Metric {
546
- & dto. Metric {
546
+ {
547
547
Counter : & dto.Counter {
548
548
Value : proto .Float64 (42 ),
549
549
CreatedTimestamp : openMetricsTimestamp ,
You can’t perform that action at this time.
0 commit comments