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

client: add GetVersion method #7222

Merged
merged 1 commit into from
Jan 24, 2017
Merged

client: add GetVersion method #7222

merged 1 commit into from
Jan 24, 2017

Conversation

gyuho
Copy link
Contributor

@gyuho gyuho commented Jan 24, 2017

Cherry-picked from #6422.

@@ -477,6 +483,37 @@ func (c *httpClusterClient) AutoSync(ctx context.Context, interval time.Duration
}
}

type VersionResponse struct {
version.Versions
Copy link
Contributor

Choose a reason for hiding this comment

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

how about just redefine version.Versions?

type VersionResponse version.Versions.

Copy link
Contributor

Choose a reason for hiding this comment

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

or we really need the version response as a collection holder?

For retrieving etcdserver and etcdcluster version
@gyuho gyuho changed the title client: add GetVersion method for retrieving etcdserver and etcdclust… client: add GetVersion method Jan 24, 2017
@gyuho
Copy link
Contributor Author

gyuho commented Jan 24, 2017

@xiang90 Fixed. PTAL. Thanks.

@xiang90
Copy link
Contributor

xiang90 commented Jan 24, 2017

LGTM if CI passes.

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

Successfully merging this pull request may close these issues.

3 participants