spelling: asynchronously

This commit is contained in:
Josh Soref 2018-03-11 17:41:50 +00:00
parent a70fe97556
commit 5f87691df1
1 changed files with 2 additions and 2 deletions

View File

@ -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{}