summaryrefslogtreecommitdiffstats
path: root/models/release.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2017-02-28 12:56:15 +0800
committerGitHub <noreply@github.com>2017-02-28 12:56:15 +0800
commitc2eef171ff98d0ead2477296b7ae4e05b602da88 (patch)
treeb65b46858b3763dfefc4771e69b84d40b772fec2 /models/release.go
parent4b286f282a38d55b2271c43db80d3ac938746c79 (diff)
downloadgitea-c2eef171ff98d0ead2477296b7ae4e05b602da88.tar.gz
gitea-c2eef171ff98d0ead2477296b7ae4e05b602da88.zip
fix some typos (#1082)
Diffstat (limited to 'models/release.go')
-rw-r--r--models/release.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/release.go b/models/release.go
index f60213ee92..3e3db98ab4 100644
--- a/models/release.go
+++ b/models/release.go
@@ -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").