Skip to content

Commit

Permalink
(chore) lint fix.
Browse files Browse the repository at this point in the history
Signed-off-by: Wes Medford <[email protected]>
  • Loading branch information
wrmedford committed Nov 25, 2024
1 parent 8106163 commit 0180e81
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion util/oidc/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ func (p *providerImpl) VerifyJWT(tokenString string, argoSettings *settings.Argo

return key, nil
})

if err != nil {
return nil, fmt.Errorf("failed to parse/verify JWT: %w", err)
}
Expand Down
2 changes: 1 addition & 1 deletion util/settings/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -1500,7 +1500,7 @@ func getDownloadBinaryUrlsFromConfigMap(argoCDCM *apiv1.ConfigMap) map[string]st
func updateSettingsFromConfigMap(settings *ArgoCDSettings, argoCDCM *apiv1.ConfigMap) {
settings.DexConfig = argoCDCM.Data[settingDexConfigKey]
settings.OIDCConfigRAW = argoCDCM.Data[settingsOIDCConfigKey]

// Parse JWT config if present
if jwtConfigStr, ok := argoCDCM.Data["jwt.config"]; ok && jwtConfigStr != "" {
var jwtConfig JWTConfig
Expand Down

0 comments on commit 0180e81

Please sign in to comment.