etcd-agent: support rootless operation and configurable gofail ports

This commit is contained in:
Anthony Romano
2016-09-08 14:52:10 -07:00
parent bb3ba1ee1c
commit 2e25a772a5
4 changed files with 49 additions and 14 deletions

View File

@ -25,7 +25,7 @@ import (
)
func init() {
defaultAgent, err := newAgent(etcdPath, "etcd.log")
defaultAgent, err := newAgent(AgentConfig{EtcdPath: etcdPath, LogDir: "etcd.log"})
if err != nil {
log.Panic(err)
}