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:
Tim Gross
2020-05-06 08:57:51 -04:00
committed by GitHub
parent 1531db809f
commit 5d03307c63

View File

@@ -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 (