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

support add the version in InternalExtensionInfo #96

Closed
wants to merge 3 commits into from
Closed

support add the version in InternalExtensionInfo #96

wants to merge 3 commits into from

Conversation

cssmason
Copy link
Contributor

@cssmason cssmason commented Apr 4, 2022

No description provided.

@cssmason cssmason changed the title support add the version in InternalExtensionInfo (#95) support add the version in InternalExtensionInfo Apr 4, 2022
@cssmason cssmason changed the title support add the version in InternalExtensionInfo support add the version in InternalExtensionInfo (#95) Apr 4, 2022
@cssmason cssmason changed the title support add the version in InternalExtensionInfo (#95) support add the version in InternalExtensionInfo Apr 4, 2022
@@ -80,7 +81,7 @@ func ServerPingInterval(interval time.Duration) ServerOption {
// communicating with osquery over the socket at the provided path. If
// resolving the address or connecting to the socket fails, this function will
// error.
func NewExtensionManagerServer(name string, sockPath string, opts ...ServerOption) (*ExtensionManagerServer, error) {
func NewExtensionManagerServer(name string, version string, sockPath string, opts ...ServerOption) (*ExtensionManagerServer, error) {
Copy link
Member

Choose a reason for hiding this comment

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

Instead of making version a required parameter (which would be a breaking API change), can you make a ServerOption that allows setting the version?

Copy link
Member

@zwass zwass left a comment

Choose a reason for hiding this comment

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

Let's please make sure there are no breaking changes to the API.

@directionless
Copy link
Member

Looks to be closed in favor of #97 🤷

This pull request was closed.
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.

None yet

3 participants