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
|
type MessageType uint8
|
||||||
|
|
||||||
|
// note: new raft message types need to be added to the end of this
|
||||||
|
// list of contents
|
||||||
const (
|
const (
|
||||||
NodeRegisterRequestType MessageType = iota
|
NodeRegisterRequestType MessageType = iota
|
||||||
NodeDeregisterRequestType
|
NodeDeregisterRequestType
|
||||||
|
@ -90,8 +92,8 @@ const (
|
||||||
CSIVolumeRegisterRequestType
|
CSIVolumeRegisterRequestType
|
||||||
CSIVolumeDeregisterRequestType
|
CSIVolumeDeregisterRequestType
|
||||||
CSIVolumeClaimRequestType
|
CSIVolumeClaimRequestType
|
||||||
CSIVolumeClaimBatchRequestType
|
|
||||||
ScalingEventRegisterRequestType
|
ScalingEventRegisterRequestType
|
||||||
|
CSIVolumeClaimBatchRequestType
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
Loading…
Reference in New Issue