mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
16 lines
287 B
Go
16 lines
287 B
Go
// +build !enterprise
|
|
|
|
package raft
|
|
|
|
import (
|
|
"context"
|
|
"errors"
|
|
)
|
|
|
|
const nonVotersAllowed = false
|
|
|
|
// AddPeer adds a new server to the raft cluster
|
|
func (b *RaftBackend) AddNonVotingPeer(ctx context.Context, peerID, clusterAddr string) error {
|
|
return errors.New("not implemented")
|
|
}
|