Skip to content

Commit

Permalink
Merge pull request #22 from newrelic/remove-ip-field
Browse files Browse the repository at this point in the history
Removed IP field from node unmarshalling
  • Loading branch information
Curt Brink authored Sep 17, 2018
2 parents eaef31d + 8bf6d1c commit 071cb7f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## 0.1.2 - 2018-09-14
### Changed
- Removed IP field from Node struct. It was not required as part of collection and could cause an error as the value could be a single string or an array of strings.

## 0.1.1 - 2018-09-13
### Added
- Implemented client authentication
Expand Down
2 changes: 1 addition & 1 deletion src/elasticsearch.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type argumentList struct {

const (
integrationName = "com.newrelic.elasticsearch"
integrationVersion = "0.1.1"
integrationVersion = "0.1.2"
)

var (
Expand Down
1 change: 0 additions & 1 deletion src/metric_definition.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ type NodeCounts struct {
type Node struct {
Name *string `json:"name"`
Host *string `json:"host"`
IP *string `json:"ip"`
Indices *NodeIndices `json:"indices"`
Breakers *NodeBreakers `json:"breakers"`
Process *NodeProcess `json:"process"`
Expand Down

0 comments on commit 071cb7f

Please sign in to comment.