mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 19:15:34 +00:00
tsnet: fix typo in Ephemeral
Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
parent
bb94561c96
commit
38c59c0ad2
@ -56,7 +56,7 @@ type Server struct {
|
||||
|
||||
// Ephemeral, if true, specifies that the instance should register
|
||||
// as an Ephemeral node (https://tailscale.com/kb/1111/ephemeral-nodes/).
|
||||
Emphemeral bool
|
||||
Ephemeral bool
|
||||
|
||||
initOnce sync.Once
|
||||
initErr error
|
||||
@ -178,7 +178,7 @@ func (s *Server) start() error {
|
||||
logid := "tslib-TODO"
|
||||
|
||||
loginFlags := controlclient.LoginDefault
|
||||
if s.Emphemeral {
|
||||
if s.Ephemeral {
|
||||
loginFlags = controlclient.LoginEphemeral
|
||||
}
|
||||
lb, err := ipnlocal.NewLocalBackend(logf, logid, store, s.dialer, eng, loginFlags)
|
||||
|
Loading…
Reference in New Issue
Block a user