fixed typo in ErrCannotDecryptResponse name
@@ -27,7 +27,7 @@ import (
)
const (
- ErrCannotDecryptReponse = Error("cannot decrypt response")
+ ErrCannotDecryptResponse = Error("cannot decrypt response")
ErrCouldNotAllocateIP = Error("could not find any suitable IP")
// These constants are copied from the upstream tailscale.com/types/key
@@ -120,7 +120,7 @@ func decode(
decrypted, ok := privKey.OpenFrom(*pubKey, msg)
if !ok {
- return ErrCannotDecryptReponse
+ return ErrCannotDecryptResponse
}
if err := json.Unmarshal(decrypted, output); err != nil {
