Skip to content
This repository has been archived by the owner on Aug 30, 2019. It is now read-only.

Commit

Permalink
Merge pull request #334 from DataDog/benjamin/fix-info-stats
Browse files Browse the repository at this point in the history
Remove empty tag set from info page
  • Loading branch information
LotharSee committed Nov 15, 2017
2 parents f936579 + 8c9f203 commit 7f46da9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion agent/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ func updateReceiverStats(rs *receiverStats) {

s := make([]tagStats, 0, len(rs.Stats))
for _, tagStats := range rs.Stats {
s = append(s, *tagStats)
if !tagStats.isEmpty() {
s = append(s, *tagStats)
}
}

infoReceiverStats = s
Expand Down

0 comments on commit 7f46da9

Please sign in to comment.