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":
|
||||
typeBuf = append(typeBuf, val...)
|
||||
case "subtype":
|
||||
// We cannot be sure that the "subtype" tag comes before the "stype-id" tag:
|
||||
case "stype":
|
||||
// We cannot be sure that the "stype" tag comes before the "stype-id" tag:
|
||||
if len(subTypeBuf) == 0 {
|
||||
subTypeBuf = append(subTypeBuf, val...)
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user