Skip to content

Commit

Permalink
Fixing issue where use_node_name was always been set as false when me…
Browse files Browse the repository at this point in the history
…rging telemetry configurations
  • Loading branch information
alexandredantas committed Jul 2, 2017
1 parent 47c9637 commit 8d07eca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions command/agent/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -1053,6 +1053,10 @@ func (a *Telemetry) Merge(b *Telemetry) *Telemetry {
if b.DisableHostname {
result.DisableHostname = true
}

if b.UseNodeName {
result.UseNodeName = true
}
if b.CollectionInterval != "" {
result.CollectionInterval = b.CollectionInterval
}
Expand Down

0 comments on commit 8d07eca

Please sign in to comment.