@@ -17,7 +17,7 @@ import (
1717type ProposalPRFinder interface {
1818 SearchOpen (ctx context.Context , title string ) ([]* github.Issue , error )
1919 FindPredecessors (ctx context.Context , newPRViewData PRView , excludePRs []PRNum ) ([]PRView , error )
20- GetPRViews (ctx context.Context , proposalPRs []* github.Issue ) []PRView
20+ GetProposalPRViews (ctx context.Context , proposalPRs []* github.Issue ) []PRView
2121}
2222
2323// GithubProposalPRFinder implements ProposalPRFinder using GitHub API.
@@ -103,7 +103,7 @@ func (f *GithubProposalPRFinder) FindPredecessors(
103103 return nil , nil
104104 }
105105
106- prViews := f .GetPRViews (ctx , proposalPRs )
106+ prViews := f .GetProposalPRViews (ctx , proposalPRs )
107107 prViews = filterSlice (prViews , func (prView PRView , _ int ) bool { return ! slices .Contains (excludePRs , prView .Number ) })
108108 prViews = append (prViews , newPRViewData ) // include the new PR
109109
@@ -120,8 +120,8 @@ func (f *GithubProposalPRFinder) FindPredecessors(
120120 return predViews , nil
121121}
122122
123- // GetPRViews fetches PR details and proposal op count data for the given issues.
124- func (f * GithubProposalPRFinder ) GetPRViews (
123+ // GetProposalPRViews fetches PR details and proposal op count data for the given issues.
124+ func (f * GithubProposalPRFinder ) GetProposalPRViews (
125125 ctx context.Context ,
126126 proposalPRs []* github.Issue ,
127127) []PRView {
0 commit comments