return EINVAL;
}
RGWBucketInfo bucket_info;
- int ret = init_bucket(bucket_name, bucket_info, bucket);
+ int ret = init_bucket(bucket_name, bucket_id, bucket_info, bucket);
if (ret < 0) {
cerr << "ERROR: could not init bucket: " << cpp_strerror(-ret) << std::endl;
return -ret;
if (opt_cmd == OPT_BI_GET) {
RGWBucketInfo bucket_info;
- int ret = init_bucket(bucket_name, bucket_info, bucket);
+ int ret = init_bucket(bucket_name, bucket_id, bucket_info, bucket);
if (ret < 0) {
cerr << "ERROR: could not init bucket: " << cpp_strerror(-ret) << std::endl;
return -ret;
if (opt_cmd == OPT_BI_PUT) {
RGWBucketInfo bucket_info;
- int ret = init_bucket(bucket_name, bucket_info, bucket);
+ int ret = init_bucket(bucket_name, bucket_id, bucket_info, bucket);
if (ret < 0) {
cerr << "ERROR: could not init bucket: " << cpp_strerror(-ret) << std::endl;
return -ret;
if (opt_cmd == OPT_BI_LIST) {
RGWBucketInfo bucket_info;
- int ret = init_bucket(bucket_name, bucket_info, bucket);
+ int ret = init_bucket(bucket_name, bucket_id, bucket_info, bucket);
if (ret < 0) {
cerr << "ERROR: could not init bucket: " << cpp_strerror(-ret) << std::endl;
return -ret;