Skip to content
Snippets Groups Projects
Unverified Commit c6fa4556 authored by mountcount's avatar mountcount Committed by GitHub
Browse files

chore: fix function names in comment (#3464)


Signed-off-by: default avatarmountcount <cuimoman@outlook.com>
parent 2e823e31
Branches
Tags
No related merge requests found
...@@ -530,7 +530,7 @@ func (p *provider) validateSubject(subject *subject, inResponseTo string) error ...@@ -530,7 +530,7 @@ func (p *provider) validateSubject(subject *subject, inResponseTo string) error
return fmt.Errorf("failed to validate subject confirmation: %v", errs) return fmt.Errorf("failed to validate subject confirmation: %v", errs)
} }
// validationConditions ensures that dex is the intended audience // validateConditions ensures that dex is the intended audience
// for the request, and not another service provider. // for the request, and not another service provider.
// //
// See: https://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf // See: https://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf
......
...@@ -78,7 +78,7 @@ var ( ...@@ -78,7 +78,7 @@ var (
columnCheck sql.ColumnCheck columnCheck sql.ColumnCheck
) )
// columnChecker checks if the column exists in the given table. // checkColumn checks if the column exists in the given table.
func checkColumn(table, column string) error { func checkColumn(table, column string) error {
initCheck.Do(func() { initCheck.Do(func() {
columnCheck = sql.NewColumnCheck(map[string]func(string) bool{ columnCheck = sql.NewColumnCheck(map[string]func(string) bool{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment