[TASK] cleanup meshviewer-ffrgb, drop vpn field

This commit is contained in:
Martin/Geno 2018-12-30 03:01:42 +01:00
parent 4031d82047
commit eddd556ec1
No known key found for this signature in database
GPG Key ID: 9D7D3C6BFF600C6A

View File

@ -41,7 +41,6 @@ type Node struct {
Autoupdater Autoupdater `json:"autoupdater"`
Nproc int `json:"nproc"`
Model string `json:"model,omitempty"`
VPN bool `json:"vpn"`
}
// Firmware out of software
@ -104,7 +103,6 @@ func NewNode(nodes *runtime.Nodes, n *runtime.Node) *Node {
}
node.Nproc = nodeinfo.Hardware.Nproc
node.Model = nodeinfo.Hardware.Model
node.VPN = nodeinfo.VPN
}
if statistic := n.Statistics; statistic != nil {
if n.Online {