Skip to content

Commit

Permalink
fsm: tidy up wording and func signature in fsm ce file. (#18383)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrasell authored Sep 4, 2023
1 parent b614ef3 commit 290a310
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nomad/fsm_registry_ce.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 290a310

Please sign in to comment.