diff --git a/src/main/java/org/elasticsearch/action/admin/indices/status/IndicesStatusResponse.java b/src/main/java/org/elasticsearch/action/admin/indices/status/IndicesStatusResponse.java index 3fa9470e790..dba1162acf4 100644 --- a/src/main/java/org/elasticsearch/action/admin/indices/status/IndicesStatusResponse.java +++ b/src/main/java/org/elasticsearch/action/admin/indices/status/IndicesStatusResponse.java @@ -256,7 +256,7 @@ public class IndicesStatusResponse extends BroadcastOperationResponse implements builder.startObject(Fields.INDEX); builder.field(Fields.PROGRESS, gatewayRecoveryStatus.indexRecoveryProgress()); builder.field(Fields.SIZE, gatewayRecoveryStatus.indexSize()); - builder.field(Fields.SIZE, gatewayRecoveryStatus.indexSize().bytes()); + builder.field(Fields.SIZE_IN_BYTES, gatewayRecoveryStatus.indexSize().bytes()); builder.field(Fields.REUSED_SIZE, gatewayRecoveryStatus.reusedIndexSize()); builder.field(Fields.REUSED_SIZE_IN_BYTES, gatewayRecoveryStatus.reusedIndexSize().bytes()); builder.field(Fields.EXPECTED_RECOVERED_SIZE, gatewayRecoveryStatus.expectedRecoveredIndexSize());