diff --git a/types/etcd.go b/types/etcd.go index 837eb42..ece4a8a 100644 --- a/types/etcd.go +++ b/types/etcd.go @@ -2,11 +2,11 @@ package types type Etcd struct { Endpoints []string `json:"Endpoints"` - Tls EtcdTls `json:"Tls"` + Tls EtcdTls `json:"Tls,optional"` } type EtcdTls struct { - Ca string `json:"Ca"` - Cert string `json:"Cert"` - CertKey string `json:"CertKey" ` + Ca string `json:"Ca,optional"` + Cert string `json:"Cert,optional"` + CertKey string `json:"CertKey,optional" ` }