mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-07 08:07:42 +00:00
ipn/ipnserver: staticcheck is not wrong
shamecube.gif
This commit is contained in:
parent
4aba86cc03
commit
9ff5b380cb
@ -188,7 +188,6 @@ func Run(ctx context.Context, logf logger.Logf, logid string, getEngine func() (
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
logf("%d: trying getEngine again...", i)
|
logf("%d: trying getEngine again...", i)
|
||||||
//lint:ignore SA4006 staticcheck is wrong
|
|
||||||
eng, err = getEngine()
|
eng, err = getEngine()
|
||||||
if err == nil {
|
if err == nil {
|
||||||
logf("%d: GetEngine worked; exiting failure loop", i)
|
logf("%d: GetEngine worked; exiting failure loop", i)
|
||||||
@ -204,7 +203,9 @@ func Run(ctx context.Context, logf logger.Logf, logid string, getEngine func() (
|
|||||||
s.Read(make([]byte, 1))
|
s.Read(make([]byte, 1))
|
||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
return ctx.Err()
|
if err := ctx.Err(); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var store ipn.StateStore
|
var store ipn.StateStore
|
||||||
|
Loading…
x
Reference in New Issue
Block a user