From 2b14371db5b47dd75867698977351188b1479c90 Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Tue, 3 Apr 2018 15:58:03 -0700 Subject: [PATCH] Fix spelling --- nomad/fsm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nomad/fsm.go b/nomad/fsm.go index 46f786f34..9ab5368d8 100644 --- a/nomad/fsm.go +++ b/nomad/fsm.go @@ -340,7 +340,7 @@ func (n *nomadFSM) applyDrainUpdate(buf []byte, index uint64) interface{} { // drain strategy but we need to handle the upgrade path where the Raft log // contains drain updates with just the drain boolean being manipulated. if req.Drain && req.DrainStrategy == nil { - // Mark the drain strategy as a force to immitate the old style drain + // Mark the drain strategy as a force to imitate the old style drain // functionality. req.DrainStrategy = &structs.DrainStrategy{ DrainSpec: structs.DrainSpec{