spelling: transition

This commit is contained in:
Josh Soref 2018-03-11 19:06:05 +00:00
parent 782c704de6
commit 173ce63fe9
10 changed files with 11 additions and 11 deletions

View File

@ -433,7 +433,7 @@ OUTER:
}
if !passed {
// Reset the timer since we have transistioned back to unhealthy
// Reset the timer since we have transitioned back to unhealthy
if primed {
if !healthyTimer.Stop() {
select {

View File

@ -674,7 +674,7 @@ func (c *Client) restoreState() error {
}
// COMPAT: Remove in 0.7.0
// 0.6.0 transistioned from individual state files to a single bolt-db.
// 0.6.0 transitioned from individual state files to a single bolt-db.
// The upgrade path is to:
// Check if old state exists
// If so, restore from that and delete old state

View File

@ -329,7 +329,7 @@ func (r *TaskRunner) pre060StateFilePath() string {
// executor.
func (r *TaskRunner) RestoreState() (string, error) {
// COMPAT: Remove in 0.7.0
// 0.6.0 transistioned from individual state files to a single bolt-db.
// 0.6.0 transitioned from individual state files to a single bolt-db.
// The upgrade path is to:
// Check if old state exists
// If so, restore from that and delete old state

View File

@ -43,7 +43,7 @@ type deploymentTriggers interface {
}
// deploymentWatcher is used to watch a single deployment and trigger the
// scheduler when allocation health transistions.
// scheduler when allocation health transitions.
type deploymentWatcher struct {
// queryLimiter is used to limit the rate of blocking queries
queryLimiter *rate.Limiter

View File

@ -53,7 +53,7 @@ type DeploymentRaftEndpoints interface {
// Watcher is used to watch deployments and their allocations created
// by the scheduler and trigger the scheduler when allocation health
// transistions.
// transitions.
type Watcher struct {
enabled bool
logger *log.Logger

View File

@ -387,7 +387,7 @@ func (n *Node) UpdateStatus(args *structs.NodeUpdateStatusRequest, reply *struct
}
// transitionedToReady is a helper that takes a nodes new and old status and
// returns whether it has transistioned to ready.
// returns whether it has transitioned to ready.
func transitionedToReady(newStatus, oldStatus string) bool {
initToReady := oldStatus == structs.NodeStatusInit && newStatus == structs.NodeStatusReady
terminalToReady := oldStatus == structs.NodeStatusDown && newStatus == structs.NodeStatusReady

View File

@ -163,7 +163,7 @@ func (p *PeriodicDispatch) SetEnabled(enabled bool) {
wasRunning := p.enabled
p.enabled = enabled
// If we are transistioning from enabled to disabled, stop the daemon and
// If we are transitioning from enabled to disabled, stop the daemon and
// flush.
if !enabled && wasRunning {
p.stopFn()

View File

@ -855,7 +855,7 @@ func (s *Server) setupConsulSyncer() error {
}
// setupDeploymentWatcher creates a deployment watcher that consumes the RPC
// endpoints for state information and makes transistions via Raft through a
// endpoints for state information and makes transitions via Raft through a
// shim that provides the appropriate methods.
func (s *Server) setupDeploymentWatcher() error {

View File

@ -2260,7 +2260,7 @@ type UpdateStrategy struct {
MinHealthyTime time.Duration
// HealthyDeadline is the time in which an allocation must be marked as
// healthy before it is automatically transistioned to unhealthy. This time
// healthy before it is automatically transitioned to unhealthy. This time
// period doesn't count against the MinHealthyTime.
HealthyDeadline time.Duration
@ -3931,7 +3931,7 @@ type TaskState struct {
// task starts
StartedAt time.Time
// FinishedAt is the time at which the task transistioned to dead and will
// FinishedAt is the time at which the task transitioned to dead and will
// not be started again.
FinishedAt time.Time

View File

@ -5,7 +5,7 @@ sidebar_current: "docs-operating-a-job-updating-rolling-upgrades"
description: |-
In order to update a service while reducing downtime, Nomad provides a
built-in mechanism for rolling upgrades. Rolling upgrades incrementally
transistions jobs between versions and using health check information to
transitions jobs between versions and using health check information to
reduce downtime.
---