From d645a49c9717b94f4b9355ac2a89fdbd3052fdfe Mon Sep 17 00:00:00 2001 From: yanweidong Date: Thu, 3 Oct 2024 20:35:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20types/etcd.go?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/etcd.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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" ` }