mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
control/controlclient: fix signRegisterRequest log suppression check on Windows
Fixes #1774 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
parent
2d786821f6
commit
3411bb959a
@ -413,7 +413,7 @@ func (c *Direct) doLogin(ctx context.Context, opt loginOpt) (mustRegen bool, new
|
|||||||
|
|
||||||
// Don't log the common error types. Signatures are not usually enabled,
|
// Don't log the common error types. Signatures are not usually enabled,
|
||||||
// so these are expected.
|
// so these are expected.
|
||||||
if err != errCertificateNotConfigured && err != errNoCertStore {
|
if !errors.Is(err, errCertificateNotConfigured) && !errors.Is(err, errNoCertStore) {
|
||||||
c.logf("RegisterReq sign error: %v", err)
|
c.logf("RegisterReq sign error: %v", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user