From 9c66812b99bcfa57801cafc35ceee0e2e29d8dbd Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Wed, 15 Jul 2020 04:58:49 -0700 Subject: [PATCH] Add missing action stringer for DeleteVersionAction (#10049) --- pkg/bucket/lifecycle/action_string.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/bucket/lifecycle/action_string.go b/pkg/bucket/lifecycle/action_string.go index 5b22b9af7..ac0de7e3a 100644 --- a/pkg/bucket/lifecycle/action_string.go +++ b/pkg/bucket/lifecycle/action_string.go @@ -10,11 +10,12 @@ func _() { var x [1]struct{} _ = x[NoneAction-0] _ = 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 { if i < 0 || i >= Action(len(_Action_index)-1) {