mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 11:38:02 +00:00
Fix raft config response (#6975)
This commit is contained in:
@@ -542,7 +542,7 @@ func (b *RaftBackend) GetConfiguration(ctx context.Context) (*RaftConfigurationR
|
||||
Address: string(server.Address),
|
||||
Leader: server.Address == b.raft.Leader(),
|
||||
Voter: server.Suffrage == raft.Voter,
|
||||
ProtocolVersion: string(raft.ProtocolVersionMax),
|
||||
ProtocolVersion: strconv.Itoa(raft.ProtocolVersionMax),
|
||||
}
|
||||
config.Servers = append(config.Servers, entry)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user