Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update module github.com/google/go-github/v53 to v57 #29832

Merged
merged 4 commits into from
Dec 13, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
update deprecated call
Signed-off-by: Alex Boten <[email protected]>
  • Loading branch information
Alex Boten committed Dec 13, 2023
commit d6b67bbb4617ce98709352353b0196d08fece36c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func (ghs *githubScraper) createClients() (gClient graphql.Client, rClient *gith

// The rest client needs the endpoint to be the root of the server
ru := ghs.cfg.HTTPClientSettings.Endpoint
rClient, err = github.NewEnterpriseClient(ru, ru, ghs.client)
rClient, err = github.NewClient(ghs.client).WithEnterpriseURLs(ru, ru)
if err != nil {
ghs.logger.Sugar().Errorf("error creating enterprise client: %v", err)
return nil, nil, err
Expand Down