diff options
author | Christopher Speller <crspeller@gmail.com> | 2018-05-18 07:32:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-18 07:32:31 -0700 |
commit | d5e1f7e2982c2fcc888ccac550b34095efbee217 (patch) | |
tree | d8cfe7e3f47537cce92b26a1b32b9081f0bd7993 /vendor/gopkg.in/olivere/elastic.v5/nodes_info.go | |
parent | d3ead7dc8535f8fa5b175686cc1f7669c8b1648b (diff) | |
download | chat-d5e1f7e2982c2fcc888ccac550b34095efbee217.tar.gz chat-d5e1f7e2982c2fcc888ccac550b34095efbee217.tar.bz2 chat-d5e1f7e2982c2fcc888ccac550b34095efbee217.zip |
Upgrading server dependency. (#8807)
Diffstat (limited to 'vendor/gopkg.in/olivere/elastic.v5/nodes_info.go')
-rw-r--r-- | vendor/gopkg.in/olivere/elastic.v5/nodes_info.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/gopkg.in/olivere/elastic.v5/nodes_info.go b/vendor/gopkg.in/olivere/elastic.v5/nodes_info.go index b3687d689..d03fdf9c3 100644 --- a/vendor/gopkg.in/olivere/elastic.v5/nodes_info.go +++ b/vendor/gopkg.in/olivere/elastic.v5/nodes_info.go @@ -150,6 +150,9 @@ type NodesInfoNode struct { // HTTPSAddress, e.g. "127.0.0.1:9200" HTTPSAddress string `json:"https_address"` + // Roles of the node, e.g. [master, ingest, data] + Roles []string `json:"roles"` + // Attributes of the node. Attributes map[string]interface{} `json:"attributes"` |