From 0c4356fe8e126106b49a1f14cdfbb862edbc7055 Mon Sep 17 00:00:00 2001 From: jojoliang Date: Wed, 9 Dec 2020 20:55:34 +0800 Subject: [PATCH] fix bucket lifecycle --- bucket_lifecycle.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bucket_lifecycle.go b/bucket_lifecycle.go index c9ca97f..d5d9096 100644 --- a/bucket_lifecycle.go +++ b/bucket_lifecycle.go @@ -26,7 +26,7 @@ type BucketLifecycleTransition struct { // BucketLifecycleAbortIncompleteMultipartUpload is the param of BucketLifecycleRule type BucketLifecycleAbortIncompleteMultipartUpload struct { - DaysAfterInitiation string `xml:"DaysAfterInititation,omitempty"` + DaysAfterInitiation int `xml:"DaysAfterInitiation,omitempty"` } // BucketLifecycleRule is the rule of BucketLifecycle