From 28fd7edc890adb4458a4001539f57d5ddaa25cc6 Mon Sep 17 00:00:00 2001 From: Thomas Gruber Date: Thu, 8 May 2025 18:01:02 +0200 Subject: [PATCH] Fix subtype -> stype in lineprotocol.go --- internal/api/lineprotocol.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/api/lineprotocol.go b/internal/api/lineprotocol.go index 2e1e5ca..51aacab 100644 --- a/internal/api/lineprotocol.go +++ b/internal/api/lineprotocol.go @@ -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 {