all: rename deep "Copy" methods to conventional Go name "Clone"
This commit is contained in:
@@ -174,7 +174,7 @@ func (c *Direct) SetHostinfo(hi *tailcfg.Hostinfo) {
|
||||
defer c.mu.Unlock()
|
||||
|
||||
c.logf("Hostinfo: %v\n", hi)
|
||||
c.hostinfo = hi.Copy()
|
||||
c.hostinfo = hi.Clone()
|
||||
}
|
||||
|
||||
func (c *Direct) GetPersist() Persist {
|
||||
|
||||
Reference in New Issue
Block a user