这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@SamMorrowDrums
Copy link
Collaborator

Just noticed that this was not wired up, and it should be. The server has a version param that was still hard-coded.

Copilot AI review requested due to automatic review settings April 7, 2025 15:52
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

A chore PR to wire the version parameter through the server initialization.

  • Updated the server constructor in pkg/github/server.go to accept a version parameter instead of a hard-coded value.
  • Updated the instantiation call in cmd/github-mcp-server/main.go to pass the version received from configuration.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
pkg/github/server.go Changed the NewServer function signature to include a version parameter in place of "0.0.1".
cmd/github-mcp-server/main.go Modified the call to NewServer to pass the version variable rather than a hard-coded value.

Tip: If you use Visual Studio Code, you can request a review from Copilot before you push from the "Source Control" tab. Learn more

@SamMorrowDrums SamMorrowDrums merged commit 7ab5d96 into main Apr 7, 2025
16 checks passed
@SamMorrowDrums SamMorrowDrums deleted the add-version-to-server branch April 7, 2025 15:56
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.

3 participants