Skip to content

Commit

Permalink
Fix index prefix name
Browse files Browse the repository at this point in the history
Signed-off-by: David Grizzanti <[email protected]>
  • Loading branch information
dgrizzanti committed Mar 13, 2021
1 parent 15a0ee6 commit aab1458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/storage/es/spanstore/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func getTimeRangeIndexFn(archive, useReadWriteAliases bool, remoteReadClusters [
}
if useReadWriteAliases {
return addRemoteReadClusters(func(indexPrefix string, indexDateLayout string, startTime time.Time, endTime time.Time) []string {
return []string{indices + "read"}
return []string{indexPrefix + "read"}
}, remoteReadClusters)
}
return addRemoteReadClusters(timeRangeIndices, remoteReadClusters)
Expand Down

0 comments on commit aab1458

Please sign in to comment.