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 ce86a594a6
commit 00c9bd7ff0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

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 (