mirror of
https://github.com/minio/minio.git
synced 2025-07-08 16:42:17 -04:00
Add missing action stringer for DeleteVersionAction (#10049)
This commit is contained in:
parent
ec91fa55db
commit
9c66812b99
@ -10,11 +10,12 @@ func _() {
|
|||||||
var x [1]struct{}
|
var x [1]struct{}
|
||||||
_ = x[NoneAction-0]
|
_ = x[NoneAction-0]
|
||||||
_ = x[DeleteAction-1]
|
_ = x[DeleteAction-1]
|
||||||
|
_ = x[DeleteVersionAction-2]
|
||||||
}
|
}
|
||||||
|
|
||||||
const _Action_name = "NoneActionDeleteAction"
|
const _Action_name = "NoneActionDeleteActionDeleteVersionAction"
|
||||||
|
|
||||||
var _Action_index = [...]uint8{0, 10, 22}
|
var _Action_index = [...]uint8{0, 10, 22, 41}
|
||||||
|
|
||||||
func (i Action) String() string {
|
func (i Action) String() string {
|
||||||
if i < 0 || i >= Action(len(_Action_index)-1) {
|
if i < 0 || i >= Action(len(_Action_index)-1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user