@@ -2241,7 +2241,7 @@ func TestStoragePlugin_HeadObject(t *testing.T) {
2241
2241
newTestMockS3 (
2242
2242
nil ,
2243
2243
testMockS3WithHeadObjectOutput (& s3.HeadObjectOutput {
2244
- ContentLength : 1024 ,
2244
+ ContentLength : aws . Int64 ( 1024 ) ,
2245
2245
LastModified : aws .Time (createTime (t , "2006-01-02T15:04:05Z" )),
2246
2246
}),
2247
2247
),
@@ -2272,7 +2272,7 @@ func TestStoragePlugin_HeadObject(t *testing.T) {
2272
2272
newTestMockS3 (
2273
2273
nil ,
2274
2274
testMockS3WithHeadObjectOutput (& s3.HeadObjectOutput {
2275
- ContentLength : 1024 ,
2275
+ ContentLength : aws . Int64 ( 1024 ) ,
2276
2276
LastModified : aws .Time (createTime (t , "2006-01-02T15:04:05Z" )),
2277
2277
}),
2278
2278
),
@@ -3685,7 +3685,7 @@ func TestStoragePlugin_DeleteObjects(t *testing.T) {
3685
3685
newTestMockS3 (
3686
3686
nil ,
3687
3687
testMockS3WithListObjectsV2Output (& s3.ListObjectsV2Output {
3688
- IsTruncated : false ,
3688
+ IsTruncated : aws . Bool ( false ) ,
3689
3689
Contents : []s3types.Object {
3690
3690
{
3691
3691
Key : aws .String ("abc/abc" ),
@@ -3763,7 +3763,7 @@ func TestStoragePlugin_DeleteObjects(t *testing.T) {
3763
3763
newTestMockS3 (
3764
3764
nil ,
3765
3765
testMockS3WithListObjectsV2Output (& s3.ListObjectsV2Output {
3766
- IsTruncated : false ,
3766
+ IsTruncated : aws . Bool ( false ) ,
3767
3767
Contents : []s3types.Object {
3768
3768
s3types.Object {
3769
3769
Key : aws .String ("abc/abc" ),
@@ -3808,7 +3808,7 @@ func TestStoragePlugin_DeleteObjects(t *testing.T) {
3808
3808
newTestMockS3 (
3809
3809
nil ,
3810
3810
testMockS3WithListObjectsV2Output (& s3.ListObjectsV2Output {
3811
- IsTruncated : false ,
3811
+ IsTruncated : aws . Bool ( false ) ,
3812
3812
Contents : []s3types.Object {
3813
3813
{Key : aws .String ("abc/abc1" )},
3814
3814
{Key : aws .String ("abc/abc2" )},
@@ -3836,7 +3836,7 @@ func TestStoragePlugin_DeleteObjects(t *testing.T) {
3836
3836
newTestMockS3 (
3837
3837
nil ,
3838
3838
testMockS3WithListObjectsV2Output (& s3.ListObjectsV2Output {
3839
- IsTruncated : false ,
3839
+ IsTruncated : aws . Bool ( false ) ,
3840
3840
Contents : []s3types.Object {},
3841
3841
}),
3842
3842
// no deleted response since it shouldn't be called
0 commit comments