Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit a85240b

Browse files
committed
fix
1 parent 654e336 commit a85240b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

platform/model/bucket_aggregations/date_histogram.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ func (query *DateHistogram) getKey(row model.QueryResultRow) int64 {
229229
case string:
230230
val, err := strconv.ParseInt(v, 10, 64)
231231
if err != nil {
232-
logger.Error().Msgf("string conver to int64 failed %T", v, err)
232+
logger.Error().Msgf("string conver to int64 failed %T", v)
233233
return 0
234234
}
235235
return val
@@ -437,7 +437,7 @@ func (qt *DateHistogramRowsTransformer) getKey(row model.QueryResultRow) int64 {
437437
case string:
438438
val, err := strconv.ParseInt(v, 10, 64)
439439
if err != nil {
440-
logger.Error().Msgf("string conver to int64 failed %T", v, err)
440+
logger.Error().Msgf("string conver to int64 failed %T", v)
441441
return 0
442442
}
443443
return val

0 commit comments

Comments
 (0)