Skip to content

Commit

Permalink
fix vet error in clusterinfo/data.go
Browse files Browse the repository at this point in the history
  • Loading branch information
zouyee committed Jun 9, 2017
1 parent b1e2262 commit a4a855c
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 @@ -60,7 +60,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 a4a855c

Please sign in to comment.