Skip to content

Commit

Permalink
`Fix golang lint
Browse files Browse the repository at this point in the history
  • Loading branch information
CorrenSoft committed Nov 14, 2024
1 parent 4a25d78 commit 19e7599
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/services/appservice/helpers/auth_v2_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -1336,8 +1336,8 @@ func expandCustomOIDCAuthV2Settings(input []CustomOIDCAuthV2Settings) map[string
continue
}

// For backward compatibility, stablish the generated name is the incomming value is empty
clientSecretSettingName := ""
// For backward compatibility, stablish the generated name if the incomming value is empty
var clientSecretSettingName string
if clientSecretSettingName = v.ClientSecretSettingName; clientSecretSettingName == "" {
clientSecretSettingName = fmt.Sprintf("%s_PROVIDER_AUTHENTICATION_SECRET", strings.ToUpper(v.Name))
}
Expand Down

0 comments on commit 19e7599

Please sign in to comment.