mirror of
https://github.com/ceph/ceph
synced 2025-01-20 10:01:45 +00:00
rgw: Add bucket name to bucket stats error logging
Signed-off-by: Seena Fallah <seeenafallah@gmail.com>
This commit is contained in:
parent
4b0237eb96
commit
1d58bc5277
@ -1378,7 +1378,7 @@ static int bucket_stats(rgw::sal::RGWRadosStore *store, const std::string& tenan
|
||||
string max_marker;
|
||||
int ret = store->getRados()->get_bucket_stats(bucket_info, RGW_NO_SHARD, &bucket_ver, &master_ver, stats, &max_marker);
|
||||
if (ret < 0) {
|
||||
cerr << "error getting bucket stats ret=" << ret << std::endl;
|
||||
cerr << "error getting bucket stats bucket=" << bucket.name << " ret=" << ret << std::endl;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user