Merge pull request #1895 from shoenig/fixtypo

doc: fix trivial typo s/NewFSMPath/NewFSM/
This commit is contained in:
James Phillips 2016-04-12 21:53:24 -07:00
commit 0e5aa5d808
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ type snapshotHeader struct {
LastIndex uint64 LastIndex uint64
} }
// NewFSMPath is used to construct a new FSM with a blank state // NewFSM is used to construct a new FSM with a blank state
func NewFSM(gc *state.TombstoneGC, logOutput io.Writer) (*consulFSM, error) { func NewFSM(gc *state.TombstoneGC, logOutput io.Writer) (*consulFSM, error) {
stateNew, err := state.NewStateStore(gc) stateNew, err := state.NewStateStore(gc)
if err != nil { if err != nil {