}
}
bucket_op.marker = marker;
+ if (max_entries_specified)
+ bucket_op.max_entries = max_entries;
+ else
+ bucket_op.max_entries = 0; /* for backward compatibility */
RGWBucketAdminOp::info(driver, bucket_op, stream_flusher, null_yield, dpp());
} else {
int ret = init_bucket(tenant, bucket_name, bucket_id, &bucket);
bucket_op.set_bucket_name(bucket.name);
}
bucket_op.set_fetch_stats(true);
+ if (max_entries_specified)
+ bucket_op.max_entries = max_entries;
+ else
+ bucket_op.max_entries = 0; /* for backward compatibility */
int r = RGWBucketAdminOp::info(driver, bucket_op, stream_flusher, null_yield, dpp());
if (r < 0) {