Skip to content

Conversation

@mouismail
Copy link
Owner

@mouismail mouismail commented Sep 5, 2024

This pull request includes significant changes to the pkg/clients/github.go file, focusing on simplifying the initialization of GitHub clients by removing redundant methods and streamlining the client initialization process.

Simplification of GitHub Client Initialization:

  • Removed the initCloudClients method, which included the initialization of cloud clients and fetching the installation ID and token. This logic has been consolidated into the initClients method. (pkg/clients/github.go)
  • Removed the GetCloudV3Client and GetCloudV3AppClient methods, which were previously used to create new GitHub client instances. These methods are no longer needed due to the changes in the initialization process. (pkg/clients/github.go)

These changes streamline the GitHub client initialization process, making the codebase cleaner and more maintainable.

For more details, open the Copilot Workspace session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants