mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
tools: fix building failures on Windows
When building tools on Win,it shows `.\main.go:68:12: assignment mismatch: 2 variables but 1 values`.The reason is the return variables not match the calling from `main.go` and i try to fix it.
This commit is contained in:
parent
60fd69a06f
commit
32a3a73755
@ -18,6 +18,6 @@ package main
|
||||
|
||||
import "errors"
|
||||
|
||||
func install(ver, dir string) error {
|
||||
return errors.New("windows install is not supported yet")
|
||||
func install(ver, dir string) (string, error) {
|
||||
return "", errors.New("windows install is not supported yet")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user