Fix rest of var name in main code

This commit is contained in:
Kristoffer Dalby
2021-11-15 16:15:50 +00:00
parent 471c0b4993
commit 333be80f9c
6 changed files with 137 additions and 130 deletions

View File

@@ -526,7 +526,7 @@ func (machine Machine) toNode(
hostname = machine.Name
}
n := tailcfg.Node{
node := tailcfg.Node{
ID: tailcfg.NodeID(machine.ID), // this is the actual ID
StableID: tailcfg.StableNodeID(
strconv.FormatUint(machine.ID, BASE_10),
@@ -551,7 +551,7 @@ func (machine Machine) toNode(
Capabilities: []string{tailcfg.CapabilityFileSharing},
}
return &n, nil
return &node, nil
}
func (machine *Machine) toProto() *v1.Machine {