morpheus need hostname in DB
This commit is contained in:
parent
9c73746cc8
commit
aab0f81676
@ -56,6 +56,8 @@ func (c *StatsDb) Add(nodeId string, node *models.Node) {
|
|||||||
if owner := nodeinfo.Owner; owner != nil {
|
if owner := nodeinfo.Owner; owner != nil {
|
||||||
tags["owner"] = owner.Contact
|
tags["owner"] = owner.Contact
|
||||||
}
|
}
|
||||||
|
// morpheus needs
|
||||||
|
tags["hostname"] = nodeinfo.Hostname
|
||||||
}
|
}
|
||||||
|
|
||||||
fields := map[string]interface{}{
|
fields := map[string]interface{}{
|
||||||
|
Loading…
Reference in New Issue
Block a user