mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
fix(etcd): fixup TLSInfo json
the JSON wasn't getting generated properly. Fix it up.
This commit is contained in:
parent
8c09f98882
commit
eb8f1dc6eb
8
etcd.go
8
etcd.go
@ -104,9 +104,9 @@ const (
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
type TLSInfo struct {
|
type TLSInfo struct {
|
||||||
CertFile string `json:"serverCertFile"`
|
CertFile string `json:"CertFile"`
|
||||||
KeyFile string `json:"serverKeyFile"`
|
KeyFile string `json:"KeyFile"`
|
||||||
CAFile string `json:"serverCAFile"`
|
CAFile string `json:"CAFile"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Info struct {
|
type Info struct {
|
||||||
@ -117,7 +117,7 @@ type Info struct {
|
|||||||
WebURL string `json:"webURL"`
|
WebURL string `json:"webURL"`
|
||||||
|
|
||||||
RaftTLS TLSInfo `json:"raftTLS"`
|
RaftTLS TLSInfo `json:"raftTLS"`
|
||||||
EtcdTLS TLSInfo `json:"raftTLS"`
|
EtcdTLS TLSInfo `json:"etcdTLS"`
|
||||||
}
|
}
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user