fix some typos (#1082)

This commit is contained in:
Lunny Xiao authored and GitHub committed 2017-02-28 12:56:15 +08:00
1 parent 4b286f282a
commit c2eef171ff
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -715,7 +715,7 @@ func GetActiveOAuth2LoginSourceByName(name string) (*LoginSource, error) {
// key is used as technical name (like in the callbackURL)
// values to display
func GetActiveOAuth2Providers() (map[string]OAuth2Provider, error) {
// Maybe also seperate used and unused providers so we can force the registration of only 1 active provider for each type
// Maybe also separate used and unused providers so we can force the registration of only 1 active provider for each type
loginSources, err := GetActiveOAuth2ProviderLoginSources()
if err != nil {
+1 -1
View File
@@ -244,7 +244,7 @@ func GetReleasesByRepoID(repoID int64, page, pageSize int) (rels []*Release, err
return rels, err
}
// GetReleasesByRepoIDAndNames returns a list of releases of repository accroding repoID and tagNames.
// GetReleasesByRepoIDAndNames returns a list of releases of repository according repoID and tagNames.
func GetReleasesByRepoIDAndNames(repoID int64, tagNames []string) (rels []*Release, err error) {
err = x.
Desc("created_unix").