fix(etcd): use . as the storage

/tmp is convienent but a little unexpected. Just use the cwd.
This commit is contained in:
Brandon Philips 2013-08-08 12:58:11 -07:00
parent 6a9a0a6fbe
commit 5e8f9a57a5

View File

@ -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")