Browse Source

Add `unknown`-state predicate services

Based on the new peer relationship
pull/14947/head
Michael Klein 2 years ago
parent
commit
42a725bffe
  1. 1
      ui/packages/consul-ui/app/filter/predicates/service.js

1
ui/packages/consul-ui/app/filter/predicates/service.js

@ -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…
Cancel
Save