Datasources: timeEnd not work (#98375)

* time end not work
This commit is contained in:
jackyin 2025-01-20 18:04:43 +08:00 committed by GitHub
parent 1f780fdce1
commit 55ec66c416
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -447,7 +447,7 @@ func (e *DataSourceHandler) newProcessCfg(query backend.DataQuery, queryContext
}
}
if qm.Format == dataQueryFormatTable && col == "timeend" {
if qm.Format == dataQueryFormatTable && strings.EqualFold(col, "timeend") {
qm.timeEndIndex = i
continue
}

View File

@ -443,7 +443,7 @@ func (e *DataSourceHandler) newProcessCfg(query backend.DataQuery, queryContext
}
}
if qm.Format == dataQueryFormatTable && col == "timeend" {
if qm.Format == dataQueryFormatTable && strings.EqualFold(col, "timeend") {
qm.timeEndIndex = i
continue
}

View File

@ -443,7 +443,7 @@ func (e *DataSourceHandler) newProcessCfg(query backend.DataQuery, queryContext
}
}
if qm.Format == dataQueryFormatTable && col == "timeend" {
if qm.Format == dataQueryFormatTable && strings.EqualFold(col, "timeend") {
qm.timeEndIndex = i
continue
}