diff --git a/server/src/main/java/org/opensearch/cluster/routing/RecoverySource.java b/server/src/main/java/org/opensearch/cluster/routing/RecoverySource.java index ae96ea6b73cca..bc5c8fa230894 100644 --- a/server/src/main/java/org/opensearch/cluster/routing/RecoverySource.java +++ b/server/src/main/java/org/opensearch/cluster/routing/RecoverySource.java @@ -415,10 +415,10 @@ public void addAdditionalFields(XContentBuilder builder, ToXContent.Params param .field("version", version.toString()) .field("index", index.getName()) .field("restoreUUID", restoreUUID) - .field("isSearchableSnapshot", isSearchableSnapshot) - .field("remoteStoreIndexShallowCopy", remoteStoreIndexShallowCopy) - .field("sourceRemoteStoreRepository", sourceRemoteStoreRepository) - .field("sourceRemoteTranslogRepository", sourceRemoteTranslogRepository); + .field("is_searchable_snapshot", isSearchableSnapshot) + .field("remote_store_index_shallow_copy", remoteStoreIndexShallowCopy) + .field("source_remote_store_repository", sourceRemoteStoreRepository) + .field("source_remote_translog_repository", sourceRemoteTranslogRepository); } @Override