Skip to content

Commit 3ee7b51

Browse files
Change mem_size_estimation to memory_size_estimation. (#868) (#869)
Signed-off-by: Jing Zhang <[email protected]> (cherry picked from commit 982fa74) Co-authored-by: Jing Zhang <[email protected]>
1 parent 119ddba commit 3ee7b51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin/src/main/java/org/opensearch/ml/profile/MLModelProfile.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ public XContentBuilder toXContent(XContentBuilder builder, Params params) throws
7474
builder.field("predict_request_stats", predictRequestStats);
7575
}
7676
if (memSizeEstimationCPU != null) {
77-
builder.field("mem_size_estimation_cpu", memSizeEstimationCPU);
77+
builder.field("memory_size_estimation_cpu", memSizeEstimationCPU);
7878
}
7979
if (memSizeEstimationGPU != null) {
80-
builder.field("mem_size_estimation_gpu", memSizeEstimationGPU);
80+
builder.field("memory_size_estimation_gpu", memSizeEstimationGPU);
8181
}
8282
builder.endObject();
8383
return builder;

0 commit comments

Comments
 (0)