mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-12 12:46:23 +01:00
lib/streamaggr: properly return output key from getOutputKey
The bug has been introduced incc2647d212
(cherry picked from commitb617dc9c0b
)
This commit is contained in:
parent
955d36357c
commit
5dbc4ad5ef
@ -871,6 +871,7 @@ func getOutputKey(key string) string {
|
||||
if nSize <= 0 {
|
||||
logger.Panicf("BUG: cannot unmarshal inputKeyLen from uvarint")
|
||||
}
|
||||
src = src[nSize:]
|
||||
outputKey := src[inputKeyLen:]
|
||||
return bytesutil.ToUnsafeString(outputKey)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user