Skip to content

Commit 031b35d

Browse files
authored
Merge pull request #35 from ahdde/fix_carbon-clickhouse
test connection with line break instead of space
2 parents efab8d9 + 3934e00 commit 031b35d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Graphite/PlaintextGraphiteFormatter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ public class PlaintextGraphiteFormatter: IGraphiteFormatter
1616
private static readonly Encoding _utfNoBom = new UTF8Encoding(false, true);
1717

1818
/// <summary>
19-
/// single space, will be trimmed by carbon
19+
/// line break, will be trimmed by carbon and carbon-clickhouse
2020
/// </summary>
21-
private static readonly byte[] _empty = {32};
21+
private static readonly byte[] _empty = {0x0A};
2222

2323
/// <summary>
2424
/// Creates a plaintext formatter with default port 2003

0 commit comments

Comments
 (0)