Pochatkin commented on code in PR #4614: URL: https://github.com/apache/ignite-3/pull/4614#discussion_r1832452310
########## modules/cli/src/main/java/org/apache/ignite/internal/cli/call/cluster/status/ClusterState.java: ########## @@ -38,15 +39,26 @@ public class ClusterStatus { private final List<String> metadataStorageNodes; - private ClusterStatus(int nodeCount, boolean initialized, String name, - boolean connected, String nodeUrl, List<String> cmgNodes, List<String> metadataStorageNodes) { + private final ClusterStatus clusterStatus; + + private ClusterState( + int nodeCount, + boolean initialized, + String name, + boolean connected, + String nodeUrl, + List<String> cmgNodes, + List<String> metadataStorageNodes, + ClusterStatus clusterStatus + ) { this.nodeCount = nodeCount; this.initialized = initialized; this.name = name; this.connected = connected; this.nodeUrl = nodeUrl; this.cmgNodes = cmgNodes; this.metadataStorageNodes = metadataStorageNodes; Review Comment: We use builder approach in CLI module -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org