Skip to content

Commit dd95279

Browse files
committed
Fix quickwit endpoint to retrieve index configs from index patterns.
1 parent b290b5f commit dd95279

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/quickwit/timestamp_infos.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func GetTimestampFieldFromIndex(index string, qwickwitUrl string, cli *http.Clie
7474
}
7575

7676
func GetTimestampFieldFromIndexPattern(indexPattern string, qwickwitUrl string, cli *http.Client) (string, error) {
77-
mappingEndpointUrl := qwickwitUrl + "/indexes?index_id_pattern=" + indexPattern
77+
mappingEndpointUrl := qwickwitUrl + "/indexes?index_id_patterns=" + indexPattern
7878
qwlog.Debug("Calling quickwit endpoint: " + mappingEndpointUrl)
7979
r, err := cli.Get(mappingEndpointUrl)
8080
if err != nil {

0 commit comments

Comments
 (0)