consul: Replace single tag with list of tags

pull/26/head
Armon Dadgar 11 years ago
parent 21508292e4
commit 283c5d1be1

@ -105,7 +105,7 @@ type ServiceNode struct {
Address string Address string
ServiceID string ServiceID string
ServiceName string ServiceName string
ServiceTag string ServiceTags []string
ServicePort int ServicePort int
} }
type ServiceNodes []ServiceNode type ServiceNodes []ServiceNode
@ -114,7 +114,7 @@ type ServiceNodes []ServiceNode
type NodeService struct { type NodeService struct {
ID string ID string
Service string Service string
Tag string Tags []string
Port int Port int
} }
type NodeServices struct { type NodeServices struct {

Loading…
Cancel
Save