mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-23 17:31:43 +00:00
control/controlclient: stop logging about goal.url invariant
This isn't the ideal solution, but it's good enough for now. Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
This commit is contained in:
parent
1e8b4e770a
commit
d9c21936c3
@ -339,11 +339,9 @@ func (c *Auto) authRoutine() {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if url != "" {
|
if url != "" {
|
||||||
if goal.url != "" {
|
// goal.url ought to be empty here.
|
||||||
err = fmt.Errorf("[unexpected] server required a new URL?")
|
// However, not all control servers get this right,
|
||||||
report(err, "WaitLoginURL")
|
// and logging about it here just generates noise.
|
||||||
}
|
|
||||||
|
|
||||||
c.mu.Lock()
|
c.mu.Lock()
|
||||||
c.loginGoal = &LoginGoal{
|
c.loginGoal = &LoginGoal{
|
||||||
wantLoggedIn: true,
|
wantLoggedIn: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user