consul/ui/packages/consul-ui/app/search/predicates/service.js

7 lines
160 B
JavaScript

export default {
Name: (item) => item.Name,
Tags: (item) => item.Tags || [],
PeerName: (item) => item.PeerName,
Partition: (item) => item.Partition,
};