fix typo in compatibility

This commit is contained in:
Matt Feury 2022-12-08 13:02:30 -05:00 committed by GitHub
parent 027342e117
commit 26bfc6c461
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,7 @@ func NewOidcAuthSetter(baseCfg BaseConfig, cfg OidcClientConfig) *OidcAuthProvid
}
// Previous versions hardcoded the scope to audience,
// so for backwards compatability, use that if no scope is set
// so for backwards compatibility, use that if no scope is set
scope := cfg.OidcAudience
if cfg.OidcScope != "" {
scope = cfg.OidcScope