From 290a310544f70a9727643eefb856f6d5d0150fdf Mon Sep 17 00:00:00 2001 From: James Rasell Date: Mon, 4 Sep 2023 11:31:55 +0100 Subject: [PATCH] fsm: tidy up wording and func signature in fsm ce file. (#18383) --- nomad/fsm_registry_ce.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nomad/fsm_registry_ce.go b/nomad/fsm_registry_ce.go index 694771cf1..dc433514c 100644 --- a/nomad/fsm_registry_ce.go +++ b/nomad/fsm_registry_ce.go @@ -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 }