spelling: allocation

This commit is contained in:
Josh Soref 2018-03-11 17:37:22 +00:00
parent e87b0a4d86
commit b8b46d3f74
2 changed files with 3 additions and 3 deletions

View File

@ -1732,7 +1732,7 @@ func (c *Client) deriveToken(alloc *structs.Allocation, taskNames []string, vcli
}
if !found {
c.logger.Printf("[ERR] task %q not found in the allocation", taskName)
return nil, fmt.Errorf("task %q not found in the allocaition", taskName)
return nil, fmt.Errorf("task %q not found in the allocation", taskName)
}
verifiedTasks = append(verifiedTasks, taskName)
}

View File

@ -528,7 +528,7 @@ type ApplyPlanResultsRequest struct {
}
// AllocUpdateRequest is used to submit changes to allocations, either
// to cause evictions or to assign new allocaitons. Both can be done
// to cause evictions or to assign new allocations. Both can be done
// within a single transaction
type AllocUpdateRequest struct {
// Alloc is the list of new allocations to assign
@ -2255,7 +2255,7 @@ type UpdateStrategy struct {
HealthCheck string
// MinHealthyTime is the minimum time an allocation must be in the healthy
// state before it is marked as healthy, unblocking more alllocations to be
// state before it is marked as healthy, unblocking more allocations to be
// rolled.
MinHealthyTime time.Duration