This is an automated email from the ASF dual-hosted git repository.
juzhiyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git
The following commit(s) were added to refs/heads/master by this push:
new 92f46d9d fix: correct data type of filed
Active.checks.active.https_verify_certificate (#2422)
92f46d9d is described below
commit 92f46d9d2fa8438659131eedecf9cab4c87b0f9d
Author: tyltr <[email protected]>
AuthorDate: Sat May 7 09:28:41 2022 +0800
fix: correct data type of filed
Active.checks.active.https_verify_certificate (#2422)
---
api/internal/core/entity/entity.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/api/internal/core/entity/entity.go
b/api/internal/core/entity/entity.go
index 41616961..f8fcc1c6 100644
--- a/api/internal/core/entity/entity.go
+++ b/api/internal/core/entity/entity.go
@@ -133,7 +133,7 @@ type Active struct {
Host string `json:"host,omitempty"`
Port int `json:"port,omitempty"`
HTTPPath string `json:"http_path,omitempty"`
- HTTPSVerifyCertificate string
`json:"https_verify_certificate,omitempty"`
+ HTTPSVerifyCertificate bool
`json:"https_verify_certificate,omitempty"`
Healthy Healthy `json:"healthy,omitempty"`
UnHealthy UnHealthy `json:"unhealthy,omitempty"`
ReqHeaders []string `json:"req_headers,omitempty"`