open-nomad/nomad/fsm_registry_oss.go

21 lines
536 B
Go
Raw Normal View History

//go:build !ent
// +build !ent
2017-09-07 23:56:15 +00:00
package nomad
import (
"github.com/hashicorp/go-msgpack/codec"
"github.com/hashicorp/raft"
2017-09-07 23:56:15 +00:00
)
// registerLogAppliers is a no-op for open-source only FSMs.
func (n *nomadFSM) registerLogAppliers() {}
// registerSnapshotRestorers is a no-op for open-source only FSMs.
func (n *nomadFSM) registerSnapshotRestorers() {}
// persistEnterpriseTables is a no-op for open-source only FSMs.
func (s *nomadSnapshot) persistEnterpriseTables(sink raft.SnapshotSink, encoder *codec.Encoder) error {
return nil
}