mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
spelling: asynchronously
This commit is contained in:
@@ -681,7 +681,7 @@ func (c *ServiceClient) checkRegs(ops *operations, allocID, serviceID string, se
|
||||
// If the service IP is set it used as the address in the service registration.
|
||||
// Checks will always use the IP from the Task struct (host's IP).
|
||||
//
|
||||
// Actual communication with Consul is done asynchrously (see Run).
|
||||
// Actual communication with Consul is done asynchronously (see Run).
|
||||
func (c *ServiceClient) RegisterTask(allocID string, task *structs.Task, restarter TaskRestarter, exec driver.ScriptExecutor, net *cstructs.DriverNetwork) error {
|
||||
// Fast path
|
||||
numServices := len(task.Services)
|
||||
@@ -842,7 +842,7 @@ func (c *ServiceClient) UpdateTask(allocID string, existing, newTask *structs.Ta
|
||||
|
||||
// RemoveTask from Consul. Removes all service entries and checks.
|
||||
//
|
||||
// Actual communication with Consul is done asynchrously (see Run).
|
||||
// Actual communication with Consul is done asynchronously (see Run).
|
||||
func (c *ServiceClient) RemoveTask(allocID string, task *structs.Task) {
|
||||
ops := operations{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user