diff --git a/connector/saml/saml.go b/connector/saml/saml.go index 06712db6..fbfb1986 100644 --- a/connector/saml/saml.go +++ b/connector/saml/saml.go @@ -530,7 +530,7 @@ func (p *provider) validateSubject(subject *subject, inResponseTo string) error 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. // // See: https://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf diff --git a/storage/ent/db/ent.go b/storage/ent/db/ent.go index da7a8016..dec4be78 100644 --- a/storage/ent/db/ent.go +++ b/storage/ent/db/ent.go @@ -78,7 +78,7 @@ var ( 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 { initCheck.Do(func() { columnCheck = sql.NewColumnCheck(map[string]func(string) bool{