mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 10:55:42 +03:00
reorder volume claim batch request raft message (#7871)
For backwards compatibility during upgrades, new raft message types need to come at the end of the enum.
This commit is contained in:
@@ -51,6 +51,8 @@ var (
|
||||
|
||||
type MessageType uint8
|
||||
|
||||
// note: new raft message types need to be added to the end of this
|
||||
// list of contents
|
||||
const (
|
||||
NodeRegisterRequestType MessageType = iota
|
||||
NodeDeregisterRequestType
|
||||
@@ -90,8 +92,8 @@ const (
|
||||
CSIVolumeRegisterRequestType
|
||||
CSIVolumeDeregisterRequestType
|
||||
CSIVolumeClaimRequestType
|
||||
CSIVolumeClaimBatchRequestType
|
||||
ScalingEventRegisterRequestType
|
||||
CSIVolumeClaimBatchRequestType
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user