Skip to content

Commit

Permalink
sidecar: fix limit mintime
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Hoffmann <[email protected]>
  • Loading branch information
MichaHoffmann committed Dec 9, 2024
1 parent d0d93db commit 794278b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/thanos/sidecar.go
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ func (s *promMetadata) UpdateTimestamps(ctx context.Context) error {
return err
}

s.mint = min(s.limitMinTime.PrometheusTimestamp(), mint)
s.mint = max(s.limitMinTime.PrometheusTimestamp(), mint)
s.maxt = math.MaxInt64

return nil
Expand Down

0 comments on commit 794278b

Please sign in to comment.