Skip to content

Commit 3d2fd13

Browse files
renamed featureflag
1 parent b993a03 commit 3d2fd13

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ func run(state overseer.State) {
466466
feature.GitlabProjectsPerPage.Store(100)
467467

468468
// OSS Default using github graphql api for issues, pr's and comments
469-
feature.UseGithubGraphqlAPI.Store(false)
469+
feature.UseGithubGraphQLAPI.Store(false)
470470

471471
conf := &config.Config{}
472472
if *configFilename != "" {

pkg/feature/feature.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var (
1111
UseSimplifiedGitlabEnumeration atomic.Bool
1212
UseGitMirror atomic.Bool
1313
GitlabProjectsPerPage atomic.Int64
14-
UseGithubGraphqlAPI atomic.Bool // use github graphql api to fetch issues, pr's and comments
14+
UseGithubGraphQLAPI atomic.Bool // use github graphql api to fetch issues, pr's and comments
1515
)
1616

1717
type AtomicString struct {

pkg/sources/github/github.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,7 @@ func (s *Source) scanComments(ctx context.Context, repoPath string, repoInfo rep
10981098
return s.processGistComments(ctx, urlString, urlParts, repoInfo, reporter, cutoffTime)
10991099
} else if s.includeIssueComments || s.includePRComments {
11001100
// if we need to use graphql api for repo issues, prs and comments
1101-
if feature.UseGithubGraphqlAPI.Load() {
1101+
if feature.UseGithubGraphQLAPI.Load() {
11021102
return s.processRepoIssueandPRsWithCommentsGraphql(ctx, repoInfo, reporter, cutoffTime)
11031103
}
11041104

0 commit comments

Comments
 (0)