fsm: tidy up wording and func signature in fsm ce file. (#18383)

This commit is contained in:
James Rasell
2023-09-04 11:31:55 +01:00
committed by GitHub
parent b614ef3b01
commit 290a310544

View File

@@ -11,13 +11,13 @@ import (
"github.com/hashicorp/raft"
)
// registerLogAppliers is a no-op for open-source only FSMs.
// registerLogAppliers is a no-op for community edition only FSMs.
func (n *nomadFSM) registerLogAppliers() {}
// registerSnapshotRestorers is a no-op for open-source only FSMs.
// registerSnapshotRestorers is a no-op for community edition 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 {
// persistEnterpriseTables is a no-op for community edition only FSMs.
func (s *nomadSnapshot) persistEnterpriseTables(_ raft.SnapshotSink, _ *codec.Encoder) error {
return nil
}