Function names updated to reflect AWS names. Updated docs (#150)
* updated inline doc * updated inline doc * API naming conform AWS * fixed clippy issues * fixed minor API naming issues
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
// limitations under the License.
|
||||
|
||||
use minio::s3::client::DEFAULT_REGION;
|
||||
use minio::s3::response::{BucketExistsResponse, RemoveBucketResponse};
|
||||
use minio::s3::response::{BucketExistsResponse, DeleteBucketResponse};
|
||||
use minio::s3::types::S3Api;
|
||||
use minio_common::test_context::TestContext;
|
||||
|
||||
@@ -28,7 +28,7 @@ async fn bucket_exists() {
|
||||
assert_eq!(resp.bucket, bucket_name);
|
||||
assert_eq!(resp.region, DEFAULT_REGION);
|
||||
|
||||
let resp: RemoveBucketResponse = ctx.client.remove_bucket(&bucket_name).send().await.unwrap();
|
||||
let resp: DeleteBucketResponse = ctx.client.delete_bucket(&bucket_name).send().await.unwrap();
|
||||
assert_eq!(resp.bucket, bucket_name);
|
||||
assert_eq!(resp.region, DEFAULT_REGION);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user