We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e3fcfe5 + a4a855c commit 844c6a0Copy full SHA for 844c6a0
internal/clusterinfo/data.go
@@ -56,7 +56,7 @@ func (c *ClusterInfo) logf(f string, args ...interface{}) {
56
func (c *ClusterInfo) GetVersion(addr string) (semver.Version, error) {
57
endpoint := fmt.Sprintf("http://%s/info", addr)
58
var resp struct {
59
- Version string `json:'version'`
+ Version string `json:"version"`
60
}
61
err := c.client.GETV1(endpoint, &resp)
62
if err != nil {
0 commit comments