Skip to content

Commit

Permalink
Backport hashicorp#3845
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederic Boismenu committed Jan 30, 2018
1 parent 680ac96 commit d55d1b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -1664,6 +1664,7 @@ func (a *Agent) AddCheck(check *structs.HealthCheck, chkType *structs.CheckType,
return fmt.Errorf("ServiceID %q does not exist", check.ServiceID)
}
check.ServiceName = s.Service
check.ServiceTags = s.Tags
}

a.checkLock.Lock()
Expand Down

0 comments on commit d55d1b1

Please sign in to comment.