Add missing readonly field (#1506)
Signed-off-by: Roman Zabaluev <rzabaluev@provectus.com>
This commit is contained in:
parent
1ae0d4d8aa
commit
afca54d374
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,7 @@ public class InternalClusterState {
|
|||
private List<Feature> features;
|
||||
private BigDecimal bytesInPerSec;
|
||||
private BigDecimal bytesOutPerSec;
|
||||
private Boolean readOnly;
|
||||
|
||||
public InternalClusterState(KafkaCluster cluster, MetricsCache.Metrics metrics) {
|
||||
name = cluster.getName();
|
||||
|
@ -66,6 +67,7 @@ public class InternalClusterState {
|
|||
inSyncReplicasCount = partitionsStats.getInSyncReplicasCount();
|
||||
outOfSyncReplicasCount = partitionsStats.getOutOfSyncReplicasCount();
|
||||
underReplicatedPartitionCount = partitionsStats.getUnderReplicatedPartitionCount();
|
||||
readOnly = cluster.getReadOnly();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue