Skip to content

Commit 103a07a

Browse files
committed
Formatting
1 parent 64bfb34 commit 103a07a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extra/redisotel/metrics.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ func addMetricsHook(rdb *redis.Client, conf *config) error {
175175
createTime: createTime,
176176
useTime: useTime,
177177
attrs: conf.attrs,
178-
attrsFunc: conf.attrsFunc,
178+
attrsFunc: conf.attrsFunc,
179179
})
180180
return nil
181181
}
@@ -184,7 +184,7 @@ type metricsHook struct {
184184
createTime metric.Float64Histogram
185185
useTime metric.Float64Histogram
186186
attrs []attribute.KeyValue
187-
attrsFunc func(context.Context) []attribute.KeyValue
187+
attrsFunc func(context.Context) []attribute.KeyValue
188188
}
189189

190190
var _ redis.Hook = (*metricsHook)(nil)

0 commit comments

Comments
 (0)