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:
parent
ce86a594a6
commit
00c9bd7ff0
|
@ -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 (
|
||||
|
|
Loading…
Reference in New Issue