[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
1 changed files with 0 additions and 2 deletions

View File

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