Skip to content

Commit f520185

Browse files
authored
fix: java pojo api error code example (#6329)
1 parent 3b17df3 commit f520185

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/writeData/clients/Java/write.2.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ mem.used_percent = 23.43234543;
44
mem.time = Instant.now();
55

66
WriteApiBlocking writeApi = client.getWriteApiBlocking();
7-
writeApi.writeRecord(bucket, org, WritePrecision.NS, mem);
7+
writeApi.writeMeasurement(bucket, org, WritePrecision.NS, mem);
88

99

1010

0 commit comments

Comments
 (0)