control/controlclient: fix signRegisterRequest log suppression check on Windows
Fixes #1774 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>pull/1775/head
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,
|
||||
// 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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue