Skip to content

Commit 820031e

Browse files
luzpaz6543lunny
authored
Fix typo in source (#20723)
Algorightm -> Algorithm Co-authored-by: 6543 <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
1 parent 2660b03 commit 820031e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/auth/source/oauth2/jwtsigningkey.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ import (
3131

3232
// ErrInvalidAlgorithmType represents an invalid algorithm error.
3333
type ErrInvalidAlgorithmType struct {
34-
Algorightm string
34+
Algorithm string
3535
}
3636

3737
func (err ErrInvalidAlgorithmType) Error() string {
38-
return fmt.Sprintf("JWT signing algorithm is not supported: %s", err.Algorightm)
38+
return fmt.Sprintf("JWT signing algorithm is not supported: %s", err.Algorithm)
3939
}
4040

4141
// JWTSigningKey represents a algorithm/key pair to sign JWTs

0 commit comments

Comments
 (0)