chore: unnecessary use of fmt.Sprintf

This commit is contained in:
guoguangwu 2023-11-16 11:01:15 +08:00
parent e0a9b3f569
commit daaa53c392
1 changed files with 1 additions and 1 deletions

View File

@ -376,7 +376,7 @@ func (o *remoteJWTChecker) getHost(token string) (string, error) {
// Actually this should never happen because of configuration sanity check. TODO: consider removing this condition.
if !o.options.parseToken {
errorString := fmt.Sprintf("impossible to obtain host for the authorization request - token parsing is turned off")
errorString := "impossible to obtain host for the authorization request - token parsing is turned off"
return "", errors.New(errorString)
}