aboutsummaryrefslogtreecommitdiffstats
path: root/models/repo_pushmirror.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/repo_pushmirror.go')
-rw-r--r--models/repo_pushmirror.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo_pushmirror.go b/models/repo_pushmirror.go
index bdd4198f92..439972ffa6 100644
--- a/models/repo_pushmirror.go
+++ b/models/repo_pushmirror.go
@@ -91,7 +91,7 @@ func GetPushMirrorByID(ID int64) (*PushMirror, error) {
return m, nil
}
-// GetPushMirrorsByRepoID returns push-mirror informations of a repository.
+// GetPushMirrorsByRepoID returns push-mirror information of a repository.
func GetPushMirrorsByRepoID(repoID int64) ([]*PushMirror, error) {
mirrors := make([]*PushMirror, 0, 10)
return mirrors, x.Where("repo_id=?", repoID).Find(&mirrors)