Merge pull request #1159 from capone212/master
Enable consul script checks for raw_exec driver
This commit is contained in:
commit
6cdc36d388
|
@ -574,7 +574,8 @@ func (e *UniversalExecutor) createCheck(check *structs.ServiceCheck, checkID str
|
|||
}, nil
|
||||
}
|
||||
|
||||
if check.Type == structs.ServiceCheckScript && e.ctx.Driver == "exec" {
|
||||
if check.Type == structs.ServiceCheckScript && (e.ctx.Driver == "exec" ||
|
||||
e.ctx.Driver == "raw_exec" || e.ctx.Driver == "java") {
|
||||
return &ExecScriptCheck{
|
||||
id: checkID,
|
||||
interval: check.Interval,
|
||||
|
|
Loading…
Reference in a new issue