aboutsummaryrefslogtreecommitdiff
path: root/spark-common/src/main/java/me/lucko/spark/common/heapdump
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2021-05-06 16:08:23 +0100
committerLuck <git@lucko.me>2021-05-06 16:34:16 +0100
commitf17661af47cd36d4df5339edf0dd5349123bfe53 (patch)
treed47a066aeebadb44ca6864e3f48d25d322e0a5f9 /spark-common/src/main/java/me/lucko/spark/common/heapdump
parent0c71e09e79ed50f10b38f267d3280f0be4cab000 (diff)
downloadspark-f17661af47cd36d4df5339edf0dd5349123bfe53.tar.gz
spark-f17661af47cd36d4df5339edf0dd5349123bfe53.tar.bz2
spark-f17661af47cd36d4df5339edf0dd5349123bfe53.zip
Improve some proto message/field names
Diffstat (limited to 'spark-common/src/main/java/me/lucko/spark/common/heapdump')
-rw-r--r--spark-common/src/main/java/me/lucko/spark/common/heapdump/HeapDumpSummary.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/spark-common/src/main/java/me/lucko/spark/common/heapdump/HeapDumpSummary.java b/spark-common/src/main/java/me/lucko/spark/common/heapdump/HeapDumpSummary.java
index a1ad819..de0c5df 100644
--- a/spark-common/src/main/java/me/lucko/spark/common/heapdump/HeapDumpSummary.java
+++ b/spark-common/src/main/java/me/lucko/spark/common/heapdump/HeapDumpSummary.java
@@ -132,8 +132,8 @@ public final class HeapDumpSummary {
private HeapData toProto(PlatformInfo platformInfo, CommandSender creator) {
HeapData.Builder proto = HeapData.newBuilder();
proto.setMetadata(SparkProtos.HeapMetadata.newBuilder()
- .setPlatform(platformInfo.toData().toProto())
- .setUser(creator.toData().toProto())
+ .setPlatformMetadata(platformInfo.toData().toProto())
+ .setCreator(creator.toData().toProto())
.build()
);