morpheus need hostname in DB

This commit is contained in:
Martin Geno 2016-07-14 14:13:45 +02:00
parent 9c73746cc8
commit aab0f81676
1 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,8 @@ func (c *StatsDb) Add(nodeId string, node *models.Node) {
if owner := nodeinfo.Owner; owner != nil {
tags["owner"] = owner.Contact
}
// morpheus needs
tags["hostname"] = nodeinfo.Hostname
}
fields := map[string]interface{}{