From 426f7bc7bca30b5c9f661511749384e897af32d4 Mon Sep 17 00:00:00 2001 From: elihe Date: Fri, 2 Jul 2021 10:03:43 +0800 Subject: [PATCH] Fix commentline typos in src/pkg/repository/model/model.go Signed-off-by: elihe --- src/pkg/repository/model/model.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pkg/repository/model/model.go b/src/pkg/repository/model/model.go index 6fe801474..7744261a0 100644 --- a/src/pkg/repository/model/model.go +++ b/src/pkg/repository/model/model.go @@ -30,7 +30,7 @@ func init() { ) } -// RepoRecord holds the record of an repository in DB, all the infors are from the registry notification event. +// RepoRecord holds the record of an repository in DB, all the infos are from the registry notification event. type RepoRecord struct { RepositoryID int64 `orm:"pk;auto;column(repository_id)" json:"repository_id"` Name string `orm:"column(name)" json:"name"` @@ -57,7 +57,7 @@ func (r *RepoRecord) FilterByBlobDigest(ctx context.Context, qs orm.QuerySeter, return qs.FilterRaw("repository_id", fmt.Sprintf("in (%s)", sql)) } -// TableName is required by by beego orm to map RepoRecord to table repository +// TableName is required by beego orm to map RepoRecord to table repository func (r *RepoRecord) TableName() string { return "repository" }