You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to create an bucket without Versioning enabled.
await _minioClient.MakeBucketAsync(
new MakeBucketArgs()
.WithObjectLock()
.WithBucket(bucketName)
//.WithObjectLock()
.WithLocation(location));
Enables versioning. Try to suspend Versioning with:
await _minioClient.SetVersioningAsync(
new SetVersioningArgs()
.WithBucket(bucketName)
.WithVersioningSuspended());
yields the following exception:
"MinIO API responded with message=An Object Lock configuration is present on this bucket, versioning cannot be suspended."
The docs state state the default for a new bucket should be versioning off, which is what is reasonable to expect from the sdk too.
As such, there does not seem to be a way of making a bucket without version at present.
The text was updated successfully, but these errors were encountered:
I'm trying to create an bucket without Versioning enabled.
Enables versioning. Try to suspend Versioning with:
yields the following exception:
"MinIO API responded with message=An Object Lock configuration is present on this bucket, versioning cannot be suspended."
The docs state state the default for a new bucket should be versioning off, which is what is reasonable to expect from the sdk too.
As such, there does not seem to be a way of making a bucket without version at present.
The text was updated successfully, but these errors were encountered: