Browse Source

fix tlsVerify json tag (#3654)

pull/3655/head
fatedier 1 year ago committed by GitHub
parent
commit
5eb8f3db03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/config/legacy/server.go
  2. 2
      pkg/config/v1/common.go

2
pkg/config/legacy/server.go

@ -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

2
pkg/config/v1/common.go

@ -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 {

Loading…
Cancel
Save