fix(etcd): fixup TLSInfo json

the JSON wasn't getting generated properly. Fix it up.
This commit is contained in:
Brandon Philips 2013-08-10 19:52:29 -07:00
parent 8c09f98882
commit eb8f1dc6eb

View File

@ -104,9 +104,9 @@ const (
//------------------------------------------------------------------------------
type TLSInfo struct {
CertFile string `json:"serverCertFile"`
KeyFile string `json:"serverKeyFile"`
CAFile string `json:"serverCAFile"`
CertFile string `json:"CertFile"`
KeyFile string `json:"KeyFile"`
CAFile string `json:"CAFile"`
}
type Info struct {
@ -117,7 +117,7 @@ type Info struct {
WebURL string `json:"webURL"`
RaftTLS TLSInfo `json:"raftTLS"`
EtcdTLS TLSInfo `json:"raftTLS"`
EtcdTLS TLSInfo `json:"etcdTLS"`
}
//------------------------------------------------------------------------------