Merge pull request #6583 from sinsharat/windows_etcd3.0.1_etcdctlv2api_issue_fix

etcdctlv2: windows compatibility issue fix for etcd v3.0.1
This commit is contained in:
Xiang Li 2016-10-07 13:58:57 -07:00 committed by GitHub
commit ac4d39cfb0

View File

@ -47,7 +47,7 @@ func Start() {
cli.StringFlag{Name: "key-file", Value: "", Usage: "identify HTTPS client using this SSL key file"},
cli.StringFlag{Name: "ca-file", Value: "", Usage: "verify certificates of HTTPS-enabled servers using this CA bundle"},
cli.StringFlag{Name: "username, u", Value: "", Usage: "provide username[:password] and prompt if password is not supplied."},
cli.DurationFlag{Name: "timeout", Value: time.Second, Usage: "connection timeout per request"},
cli.DurationFlag{Name: "timeout", Value: 2 * time.Second, Usage: "connection timeout per request"},
cli.DurationFlag{Name: "total-timeout", Value: 5 * time.Second, Usage: "timeout for the command execution (except watch)"},
}
app.Commands = []cli.Command{