models/repo: Fix typo in comment (#14731)
* models/repo: Fix typo in comment * another typo Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>release/v1.15
parent
9c41ad03b4
commit
8f05a2876b
|
@ -264,7 +264,7 @@ func (repo *Repository) ColorFormat(s fmt.State) {
|
||||||
repo.Name)
|
repo.Name)
|
||||||
}
|
}
|
||||||
|
|
||||||
// IsBeingMigrated indicates that repository is being migtated
|
// IsBeingMigrated indicates that repository is being migrated
|
||||||
func (repo *Repository) IsBeingMigrated() bool {
|
func (repo *Repository) IsBeingMigrated() bool {
|
||||||
return repo.Status == RepositoryBeingMigrated
|
return repo.Status == RepositoryBeingMigrated
|
||||||
}
|
}
|
||||||
|
@ -613,7 +613,7 @@ func (repo *Repository) getReviewers(e Engine, doerID, posterID int64) ([]*User,
|
||||||
// * for private repositories this returns all users that have read access or higher to the repository.
|
// * for private repositories this returns all users that have read access or higher to the repository.
|
||||||
// * for public repositories this returns all users that have write access or higher to the repository,
|
// * for public repositories this returns all users that have write access or higher to the repository,
|
||||||
// and all repo watchers.
|
// and all repo watchers.
|
||||||
// TODO: may be we should hava a busy choice for users to block review request to them.
|
// TODO: may be we should have a busy choice for users to block review request to them.
|
||||||
func (repo *Repository) GetReviewers(doerID, posterID int64) ([]*User, error) {
|
func (repo *Repository) GetReviewers(doerID, posterID int64) ([]*User, error) {
|
||||||
return repo.getReviewers(x, doerID, posterID)
|
return repo.getReviewers(x, doerID, posterID)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue