Changing the log line
This commit is contained in:
parent
6a62d4f452
commit
60fc9919f7
|
@ -645,7 +645,7 @@ func (d *DockerDriver) Start(ctx *ExecContext, task *structs.Task) (DriverHandle
|
|||
waitCh: make(chan *cstructs.WaitResult, 1),
|
||||
}
|
||||
if err := exec.RegisterServices(); err != nil {
|
||||
d.logger.Printf("[ERR] driver.docker: error registering services with consul for task: %v, err: %v", task.Name, err)
|
||||
d.logger.Printf("[ERR] driver.docker: error registering services with consul for task: %q: %v", task.Name, err)
|
||||
}
|
||||
go h.run()
|
||||
return h, nil
|
||||
|
|
|
@ -142,7 +142,7 @@ func (d *ExecDriver) Start(ctx *ExecContext, task *structs.Task) (DriverHandle,
|
|||
waitCh: make(chan *cstructs.WaitResult, 1),
|
||||
}
|
||||
if err := exec.RegisterServices(); err != nil {
|
||||
d.logger.Printf("[ERR] driver.exec: error registering services with consul for task: %v, err: %v", task.Name, err)
|
||||
d.logger.Printf("[ERR] driver.exec: error registering services with consul for task: %q: %v", task.Name, err)
|
||||
}
|
||||
go h.run()
|
||||
return h, nil
|
||||
|
|
|
@ -201,7 +201,7 @@ func (d *JavaDriver) Start(ctx *ExecContext, task *structs.Task) (DriverHandle,
|
|||
waitCh: make(chan *cstructs.WaitResult, 1),
|
||||
}
|
||||
if err := h.executor.RegisterServices(); err != nil {
|
||||
d.logger.Printf("[ERR] driver.java: error registering services with consul for task: %v, err: %v", task.Name, err)
|
||||
d.logger.Printf("[ERR] driver.java: error registering services with consul for task: %q: %v", task.Name, err)
|
||||
}
|
||||
go h.run()
|
||||
return h, nil
|
||||
|
|
|
@ -224,7 +224,7 @@ func (d *QemuDriver) Start(ctx *ExecContext, task *structs.Task) (DriverHandle,
|
|||
}
|
||||
|
||||
if err := h.executor.RegisterServices(); err != nil {
|
||||
h.logger.Printf("[ERR] driver.qemu: error registering services for task: %v, err: %v", task.Name, err)
|
||||
h.logger.Printf("[ERR] driver.qemu: error registering services for task: %q: %v", task.Name, err)
|
||||
}
|
||||
go h.run()
|
||||
return h, nil
|
||||
|
|
|
@ -134,7 +134,7 @@ func (d *RawExecDriver) Start(ctx *ExecContext, task *structs.Task) (DriverHandl
|
|||
waitCh: make(chan *cstructs.WaitResult, 1),
|
||||
}
|
||||
if err := h.executor.RegisterServices(); err != nil {
|
||||
h.logger.Printf("[ERR] driver.raw_exec: error registering services with consul for task: %v, err: %v", task.Name, err)
|
||||
h.logger.Printf("[ERR] driver.raw_exec: error registering services with consul for task: %q: %v", task.Name, err)
|
||||
}
|
||||
go h.run()
|
||||
return h, nil
|
||||
|
|
|
@ -269,7 +269,7 @@ func (d *RktDriver) Start(ctx *ExecContext, task *structs.Task) (DriverHandle, e
|
|||
waitCh: make(chan *cstructs.WaitResult, 1),
|
||||
}
|
||||
if h.executor.RegisterServices(); err != nil {
|
||||
h.logger.Printf("[ERR] driver.rkt: error registering services for task: %v, err: %v", task.Name, err)
|
||||
h.logger.Printf("[ERR] driver.rkt: error registering services for task: %q: %v", task.Name, err)
|
||||
}
|
||||
go h.run()
|
||||
return h, nil
|
||||
|
|
Loading…
Reference in a new issue