From ec2bf1198111e3ecc935406045259def75c62399 Mon Sep 17 00:00:00 2001 From: yanweidong Date: Thu, 3 Oct 2024 20:47:47 +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 3175e65..837eb42 100644 --- a/types/etcd.go +++ b/types/etcd.go @@ -1,12 +1,12 @@ package types type Etcd struct { - Endpoints []string `yaml:"Endpoints"` - Tls EtcdTls `yaml:"Tls"` + Endpoints []string `json:"Endpoints"` + Tls EtcdTls `json:"Tls"` } type EtcdTls struct { - Ca string `yaml:"Ca"` - Cert string `yaml:"Cert"` - CertKey string `yaml:"CertKey" ` + Ca string `json:"Ca"` + Cert string `json:"Cert"` + CertKey string `json:"CertKey" ` }