2023-04-10 15:36:59 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2021-10-01 13:59:55 +00:00
|
|
|
//go:build !ent
|
2020-02-10 20:56:14 +00:00
|
|
|
// +build !ent
|
2017-09-07 23:56:15 +00:00
|
|
|
|
|
|
|
package nomad
|
|
|
|
|
|
|
|
import (
|
2023-05-01 21:18:34 +00:00
|
|
|
"github.com/hashicorp/go-msgpack/codec"
|
2020-03-18 11:27:32 +00:00
|
|
|
"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
|
|
|
|
}
|