From 5e8f9a57a54eea12fc987c97ea2fd432ebd6e9b0 Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Thu, 8 Aug 2013 12:58:11 -0700 Subject: [PATCH] fix(etcd): use . as the storage /tmp is convienent but a little unexpected. Just use the cwd. --- etcd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etcd.go b/etcd.go index f6f293f7c..5b52212f8 100644 --- a/etcd.go +++ b/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")