diff --git a/types/etcd.go b/types/etcd.go index c8be9c7..3175e65 100644 --- a/types/etcd.go +++ b/types/etcd.go @@ -1,12 +1,12 @@ package types type Etcd struct { - Endpoints []string `json:"endpoints"` - Tls EtcdTls `json:",optional"` + Endpoints []string `yaml:"Endpoints"` + Tls EtcdTls `yaml:"Tls"` } type EtcdTls struct { - Ca string `json:"ca,optional"` - Cert string `json:"cert,optional"` - CertKey string `json:"cert_key,optional" ` + Ca string `yaml:"Ca"` + Cert string `yaml:"Cert"` + CertKey string `yaml:"CertKey" ` }