Merge branch 'descriptive' into metadata

This commit is contained in:
Neil Alexander
2018-12-12 18:04:49 +00:00
11 changed files with 219 additions and 50 deletions

View File

@@ -574,6 +574,9 @@ func (a *admin) getData_getSelf() *admin_nodeInfo {
{"ip", a.core.GetAddress().String()},
{"subnet", a.core.GetSubnet().String()},
{"coords", fmt.Sprint(coords)},
{"name", a.core.metadata.name},
{"location", a.core.metadata.location},
{"contact", a.core.metadata.contact},
}
if name := GetBuildName(); name != "unknown" {
self = append(self, admin_pair{"build_name", name})