[TASK] cleanup meshviewer-ffrgb, drop vpn field
This commit is contained in:
parent
4031d82047
commit
eddd556ec1
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user