feat: fix for s3 cache from operator

Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
This commit is contained in:
Alex Jones
2023-06-15 13:17:43 +01:00
parent 1bc0f42f71
commit f6db6ce861
2 changed files with 2 additions and 7 deletions

View File

@@ -102,12 +102,9 @@ func NewS3Cache(nocache bool) ICache {
Bucket: aws.String(cache.BucketName),
})
if err != nil {
_, err = s.CreateBucket(&s3.CreateBucketInput{
_, _ = s.CreateBucket(&s3.CreateBucketInput{
Bucket: aws.String(cache.BucketName),
})
if err != nil {
panic(err)
}
}
return &S3Cache{