tokers commented on a change in pull request #247:
URL:
https://github.com/apache/apisix-ingress-controller/pull/247#discussion_r571913512
##########
File path: pkg/apisix/resource.go
##########
@@ -135,6 +135,17 @@ func (i *item) upstream(clusterName string) (*v1.Upstream,
error) {
})
}
+ // XXX This is a work around scheme to avoid APISIX's
+ // health check schema about the health checker intervals.
+ if ups.Checks != nil && ups.Checks.Active != nil {
+ if ups.Checks.Active.Healthy.Interval == 0 {
+ ups.Checks.Active.Healthy.Interval = 1
Review comment:
The default interval in APISIX is zero...
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]