all: apply formatter changes
This commit is contained in:
parent
814226f327
commit
93860a5c06
16 changed files with 72 additions and 64 deletions
|
|
@ -1790,10 +1790,12 @@ func (s *State) HandleNodeFromAuthPath(
|
|||
// the initial Hostinfo from the cached client-supplied Hostinfo (or
|
||||
// an empty stub if the client did not send one).
|
||||
hostname := regData.Hostname
|
||||
|
||||
hostinfo := &tailcfg.Hostinfo{}
|
||||
if regData.Hostinfo != nil {
|
||||
hostinfo = regData.Hostinfo.Clone()
|
||||
}
|
||||
|
||||
hostinfo.Hostname = hostname
|
||||
|
||||
// Lookup existing nodes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue