fix: typo in function documentation (#11852)

This commit is contained in:
Romain Aviolat 2021-07-21 22:21:45 +02:00 committed by GitHub
parent de2ee46525
commit c76a4e8bd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -450,7 +450,7 @@ func (i *IdentityStore) entityByAliasFactors(mountAccessor, aliasName string, cl
return i.entityByAliasFactorsInTxn(txn, mountAccessor, aliasName, clone) return i.entityByAliasFactorsInTxn(txn, mountAccessor, aliasName, clone)
} }
// entityByAlaisFactorsInTxn fetches the entity based on factors of alias, i.e // entityByAliasFactorsInTxn fetches the entity based on factors of alias, i.e
// mount accessor and the alias name. // mount accessor and the alias name.
func (i *IdentityStore) entityByAliasFactorsInTxn(txn *memdb.Txn, mountAccessor, aliasName string, clone bool) (*identity.Entity, error) { func (i *IdentityStore) entityByAliasFactorsInTxn(txn *memdb.Txn, mountAccessor, aliasName string, clone bool) (*identity.Entity, error) {
if txn == nil { if txn == nil {