未验证 提交 134a46c0 编写于 作者: F fatedier 提交者: GitHub

Merge pull request #1369 from fatedier/dev

bump version to v0.28.2
......@@ -96,12 +96,12 @@ func (monitor *HealthCheckMonitor) Stop() {
func (monitor *HealthCheckMonitor) checkWorker() {
for {
ctx, cancel := context.WithDeadline(monitor.ctx, time.Now().Add(monitor.timeout))
err := monitor.doCheck(ctx)
doCtx, cancel := context.WithDeadline(monitor.ctx, time.Now().Add(monitor.timeout))
err := monitor.doCheck(doCtx)
// check if this monitor has been closed
select {
case <-ctx.Done():
case <-monitor.ctx.Done():
cancel()
return
default:
......
......@@ -19,7 +19,7 @@ import (
"strings"
)
var version string = "0.28.1"
var version string = "0.28.2"
func Full() string {
return version
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册