From 99d69cf842fc668d9d2240b89d62102382658852 Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Thu, 8 Aug 2013 13:09:13 -0700 Subject: [PATCH] feat(etcd): print out log line of where the configuration is It is a bit confusing that your flags are ignored if there is an existing info file. Inform the user. --- etcd.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etcd.go b/etcd.go index 5b52212f8..a778bf4b1 100644 --- a/etcd.go +++ b/etcd.go @@ -528,6 +528,9 @@ func getInfo(path string) *Info { fatalf("Unable to parse info: %v", err) } } + + fmt.Printf("Found node configuration in '%s". Ignoring flags.\n", infoPath) + file.Close() return info } else {