Close index reader properly

pull/3352/head
Fabian Reinartz 7 years ago
parent c3d6abc8e6
commit a57ea79660

@ -167,6 +167,7 @@ func (a adapter) StartTime() (int64, error) {
return startTime, err return startTime, err
} }
} }
defer indexr.Close()
joblabel := "job" joblabel := "job"
tpls, err := indexr.LabelValues(joblabel) tpls, err := indexr.LabelValues(joblabel)

Loading…
Cancel
Save