Fix spelling
This commit is contained in:
parent
ffdee640cf
commit
2b14371db5
|
@ -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
|
// drain strategy but we need to handle the upgrade path where the Raft log
|
||||||
// contains drain updates with just the drain boolean being manipulated.
|
// contains drain updates with just the drain boolean being manipulated.
|
||||||
if req.Drain && req.DrainStrategy == nil {
|
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.
|
// functionality.
|
||||||
req.DrainStrategy = &structs.DrainStrategy{
|
req.DrainStrategy = &structs.DrainStrategy{
|
||||||
DrainSpec: structs.DrainSpec{
|
DrainSpec: structs.DrainSpec{
|
||||||
|
|
Loading…
Reference in New Issue