diff --git a/client/client.go b/client/client.go index 705efb524..c4314e882 100644 --- a/client/client.go +++ b/client/client.go @@ -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) } diff --git a/nomad/structs/structs.go b/nomad/structs/structs.go index 3643d62ba..f22f231a9 100644 --- a/nomad/structs/structs.go +++ b/nomad/structs/structs.go @@ -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