Merge pull request #34653 from clwluvw/bucket-stats

rgw: Add bucket name to bucket stats error logging
This commit is contained in:
Daniel Gryniewicz 2020-08-31 10:02:20 -04:00 committed by GitHub
commit ec13f4a72e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1322,7 +1322,7 @@ static int bucket_stats(rgw::sal::RGWRadosStore *store,
&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;
}