mirror of https://github.com/status-im/consul.git
Add `unknown`-state predicate services
Based on the new peer relationship
This commit is contained in:
parent
ebf7c91b11
commit
42a725bffe
|
@ -14,6 +14,7 @@ export default {
|
|||
warning: (item, value) => item.MeshStatus === value,
|
||||
critical: (item, value) => item.MeshStatus === value,
|
||||
empty: (item, value) => item.MeshChecksTotal === 0,
|
||||
unknown: (item) => item.peerIsFailing || item.isZeroCountButPeered,
|
||||
},
|
||||
instance: {
|
||||
registered: (item, value) => item.InstanceCount > 0,
|
||||
|
|
Loading…
Reference in New Issue