mirror of
https://github.com/ClusterCockpit/cc-metric-store.git
synced 2025-06-17 21:13:49 +02:00
Fix subtype -> stype in lineprotocol.go
This commit is contained in:
parent
2332c13a9f
commit
28fd7edc89
@ -254,8 +254,8 @@ func decodeLine(dec *lineprotocol.Decoder,
|
|||||||
}
|
}
|
||||||
case "type-id":
|
case "type-id":
|
||||||
typeBuf = append(typeBuf, val...)
|
typeBuf = append(typeBuf, val...)
|
||||||
case "subtype":
|
case "stype":
|
||||||
// We cannot be sure that the "subtype" tag comes before the "stype-id" tag:
|
// We cannot be sure that the "stype" tag comes before the "stype-id" tag:
|
||||||
if len(subTypeBuf) == 0 {
|
if len(subTypeBuf) == 0 {
|
||||||
subTypeBuf = append(subTypeBuf, val...)
|
subTypeBuf = append(subTypeBuf, val...)
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user