mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-11 13:18:53 +00:00
all: fix nilness issues
Signed-off-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:

committed by
Andrew Dunham

parent
c5208f8138
commit
a217f1fccf
@@ -710,9 +710,6 @@ func (c *Direct) doLogin(ctx context.Context, opt loginOpt) (mustRegen bool, new
|
||||
c.persist = persist.View()
|
||||
c.mu.Unlock()
|
||||
|
||||
if err != nil {
|
||||
return regen, "", nil, err
|
||||
}
|
||||
if ctx.Err() != nil {
|
||||
return regen, "", nil, ctx.Err()
|
||||
}
|
||||
|
Reference in New Issue
Block a user