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

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Dieterbe committed Nov 5, 2016
1 parent 78b9034 commit c6e07b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mdata/store_cassandra.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ func (c *cassandraStore) Search(key string, start, end uint32) ([]iter.Iter, err
}

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

// unfortunately in the database we only have the t0's of all chunks.
// 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)
Expand Down

0 comments on commit c6e07b1

Please sign in to comment.