From 3b5719bc91753c4d4ebda48ef57133953dc0e9a2 Mon Sep 17 00:00:00 2001 From: yanweidong Date: Thu, 3 Oct 2024 20:52:35 +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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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" ` }