fix tlsVerify json tag (#3654)

pull/3655/head
fatedier 1 year ago committed by GitHub
parent 3ae1a4f45a
commit 5eb8f3db03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -27,7 +27,7 @@ type HTTPPluginOptions struct {
Addr string `ini:"addr"` Addr string `ini:"addr"`
Path string `ini:"path"` Path string `ini:"path"`
Ops []string `ini:"ops"` Ops []string `ini:"ops"`
TLSVerify bool `ini:"tls_verify"` TLSVerify bool `ini:"tlsVerify"`
} }
// ServerCommonConf contains information for a server service. It is // ServerCommonConf contains information for a server service. It is

@ -109,7 +109,7 @@ type HTTPPluginOptions struct {
Addr string `json:"addr"` Addr string `json:"addr"`
Path string `json:"path"` Path string `json:"path"`
Ops []string `json:"ops"` Ops []string `json:"ops"`
TLSVerify bool `json:"tls_verify,omitempty"` TLSVerify bool `json:"tlsVerify,omitempty"`
} }
type HeaderOperations struct { type HeaderOperations struct {

Loading…
Cancel
Save