github.com/zoomfoo/nomad@v0.8.5-0.20180907175415-f28fd3a1a056/nomad/fsm_registry_oss.go (about) 1 // +build !pro,!ent 2 3 package nomad 4 5 import ( 6 "github.com/hashicorp/raft" 7 "github.com/ugorji/go/codec" 8 ) 9 10 // registerLogAppliers is a no-op for open-source only FSMs. 11 func (n *nomadFSM) registerLogAppliers() {} 12 13 // registerSnapshotRestorers is a no-op for open-source only FSMs. 14 func (n *nomadFSM) registerSnapshotRestorers() {} 15 16 // persistEnterpriseTables is a no-op for open-source only FSMs. 17 func (s *nomadSnapshot) persistEnterpriseTables(sink raft.SnapshotSink, encoder *codec.Encoder) error { 18 return nil 19 }