Skip to content

Commit

Permalink
Merge pull request #907 from telegrap/master
Browse files Browse the repository at this point in the history
fix vet error in clusterinfo/data.go
  • Loading branch information
mreiferson authored Jun 9, 2017
2 parents e3fcfe5 + a4a855c commit 844c6a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/clusterinfo/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (c *ClusterInfo) logf(f string, args ...interface{}) {
func (c *ClusterInfo) GetVersion(addr string) (semver.Version, error) {
endpoint := fmt.Sprintf("http://%s/info", addr)
var resp struct {
Version string `json:'version'`
Version string `json:"version"`
}
err := c.client.GETV1(endpoint, &resp)
if err != nil {
Expand Down

0 comments on commit 844c6a0

Please sign in to comment.