Skip to content

Commit

Permalink
Merge pull request #1369 from fatedier/dev
Browse files Browse the repository at this point in the history
bump version to v0.28.2
  • Loading branch information
fatedier authored Aug 9, 2019
2 parents ae08811 + 5079664 commit 134a46c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions client/health/health.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion utils/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"strings"
)

var version string = "0.28.1"
var version string = "0.28.2"

func Full() string {
return version
Expand Down

0 comments on commit 134a46c

Please sign in to comment.