mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
fix(etcd): use . as the storage
/tmp is convienent but a little unexpected. Just use the cwd.
This commit is contained in:
parent
6a9a0a6fbe
commit
5e8f9a57a5
2
etcd.go
2
etcd.go
@ -72,7 +72,7 @@ func init() {
|
||||
flag.StringVar(&argInfo.ClientCertFile, "clientCert", "", "the cert file of the client")
|
||||
flag.StringVar(&argInfo.ClientKeyFile, "clientKey", "", "the key file of the client")
|
||||
|
||||
flag.StringVar(&dirPath, "d", "/tmp/", "the directory to store log and snapshot")
|
||||
flag.StringVar(&dirPath, "d", ".", "the directory to store log and snapshot")
|
||||
|
||||
flag.BoolVar(&ignore, "i", false, "ignore the old configuration, create a new node")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user