diff --git a/store/event_history.go b/store/event_history.go index edab33953..5db95b244 100644 --- a/store/event_history.go +++ b/store/event_history.go @@ -82,7 +82,7 @@ func (eh *EventHistory) scan(key string, recursive bool, index uint64) (*Event, if recursive { // add tailing slash - key := path.Clean(key) + key = path.Clean(key) if key[len(key)-1] != '/' { key = key + "/" }