Skip to content

Commit

Permalink
Merge pull request #249 from tstromberg/master
Browse files Browse the repository at this point in the history
Fix build breakage: Change from github.Milestone to provider.Milestone
  • Loading branch information
tstromberg committed Mar 2, 2021
2 parents 8d916ce + 5c5d464 commit 934fd0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/site/kanban.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,8 @@ func milestoneChoices(results []*triage.RuleResult, milestoneID int) (*provider.
return chosen, choices
}

func currentMilestone(milestones []*github.Milestone) *github.Milestone {
var curr *github.Milestone
func currentMilestone(milestones []*provider.Milestone) *provider.Milestone {
var curr *provider.Milestone
today := time.Now()
for _, m := range milestones {
if m.GetDueOn().Before(today) {
Expand Down

0 comments on commit 934fd0c

Please sign in to comment.