Skip to content

Commit 844c6a0

Browse files
authored
Merge pull request #907 from telegrap/master
fix vet error in clusterinfo/data.go
2 parents e3fcfe5 + a4a855c commit 844c6a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/clusterinfo/data.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func (c *ClusterInfo) logf(f string, args ...interface{}) {
5656
func (c *ClusterInfo) GetVersion(addr string) (semver.Version, error) {
5757
endpoint := fmt.Sprintf("http://%s/info", addr)
5858
var resp struct {
59-
Version string `json:'version'`
59+
Version string `json:"version"`
6060
}
6161
err := c.client.GETV1(endpoint, &resp)
6262
if err != nil {

0 commit comments

Comments
 (0)