Fix rest of var name in main code
This commit is contained in:
parent
471c0b4993
commit
333be80f9c
6 changed files with 137 additions and 130 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue