fix tlsVerify json tag (#3654)

This commit is contained in:
fatedier 2023-10-10 19:02:52 +08:00 committed by GitHub
parent 3ae1a4f45a
commit 5eb8f3db03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

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