Commit d483f0b0 authored by Michael Schurter's avatar Michael Schurter Committed by Michael Schurter
Browse files

transistion -> transition

parent a437737e
Showing with 8 additions and 8 deletions
+8 -8
......@@ -479,7 +479,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 {
......
......@@ -670,7 +670,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
......
......@@ -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
......
......@@ -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
......
......@@ -392,7 +392,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
......
......@@ -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()
......
......@@ -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 {
......
......@@ -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.
---
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment