Closed Eilyre closed 1 year ago
Hi, @Eilyre! Thanks and congrats for your first contribution! A very welcome addition!
I won't be able to go deep into testing it, but one of the other collaborators will come to review it soon.
Could you please also update the tests to consider the new object_locking
property?
Hello, thank you for the warm welcome! I completely forgot the tests, I'll do my best to fix them, but it'll take a bit of time, as currently the tests look more complicated than the application code - I'm fairly new to this.
I think I have the tests fixed now. There's still one test that fails locally - resource_minio_s3_bucket_notification_test.go:34 (TestS3BucketNotification_queue), but it also fails locally on the master branch without my changes.
This PR implements the option to enable object locking with
minio_s3_bucket
resource type. There's a new optionobject_locking
, that can be specified for these resources.Default behavior did not change, and object locking defaults to false.
Reference