From d4044b9c980951f33c24a6a68c0641e6c545c30e Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Tue, 30 Jul 2019 00:08:24 +0800 Subject: [PATCH] fix bug on migrating milestone from github (#7665) (#7666) --- modules/migrations/gitea.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/migrations/gitea.go b/modules/migrations/gitea.go index 1df824c94..dc395a779 100644 --- a/modules/migrations/gitea.go +++ b/modules/migrations/gitea.go @@ -111,7 +111,7 @@ func (g *GiteaLocalUploader) CreateMilestones(milestones ...*base.Milestone) err RepoID: g.repo.ID, Name: milestone.Title, Content: milestone.Description, - IsClosed: milestone.State == "close", + IsClosed: milestone.State == "closed", DeadlineUnix: deadline, } if ms.IsClosed && milestone.Closed != nil {