Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit c6e07b1

Browse files
committed
typo
1 parent 78b9034 commit c6e07b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mdata/store_cassandra.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ func (c *cassandraStore) Search(key string, start, end uint32) ([]iter.Iter, err
292292
}
293293

294294
start_month := start - (start % Month_sec) // starting row has to be at, or before, requested start
295-
end_month := (end - 1) - ((end - 1) % Month_sec) // ending row has to be include the last point we might need
295+
end_month := (end - 1) - ((end - 1) % Month_sec) // ending row has to include the last point we might need (end-1)
296296

297297
// unfortunately in the database we only have the t0's of all chunks.
298298
// this means we can easily make sure to include the correct last chunk (just query for a t0 < end, the last chunk will contain the last needed data)

0 commit comments

Comments
 (0)