619f49afcf
* Upgrade from hashicorp/go-msgpack v1.1.5 to v2.1.0 Fixes #16808 * Update hashicorp/net-rpc-msgpackrpc to v2 to match go-msgpack * deps: use go-msgpack v2.0.0 go-msgpack v2.1.0 includes some code changes that we will need to investigate furthere to assess its impact on Nomad, so keeping this dependency on v2.0.0 for now since it's no-op. --------- Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
24 lines
609 B
Go
24 lines
609 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
//go:build !ent
|
|
// +build !ent
|
|
|
|
package nomad
|
|
|
|
import (
|
|
"github.com/hashicorp/go-msgpack/v2/codec"
|
|
"github.com/hashicorp/raft"
|
|
)
|
|
|
|
// 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
|
|
}
|