* influxdb: alerting: handle out-of-range numeric aliases
* influxdb: updated documentation
(cherry picked from commit eb47a58029)
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
This commit is contained in:
co-authored by
Gábor Farkas
parent
3110e11330
commit
ec8e606de0
@@ -113,7 +113,7 @@ func formatFrameName(row Row, column string, query *Query) string {
|
||||
}
|
||||
|
||||
pos, err := strconv.Atoi(aliasFormat)
|
||||
if err == nil && len(nameSegment) >= pos {
|
||||
if err == nil && len(nameSegment) > pos {
|
||||
return []byte(nameSegment[pos])
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user