From b2d5654424fd02cab4dcf9948ccb00c7bf627c34 Mon Sep 17 00:00:00 2001 From: Nithya Balachandran Date: Thu, 26 Mar 2026 09:51:35 +0000 Subject: [PATCH] rgw/radosgw-admin: minor typo fixes Fixes typos in user facing log/error messages in radosgw-admin. Signed-off-by: Nithya Balachandran --- src/rgw/radosgw-admin/radosgw-admin.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/rgw/radosgw-admin/radosgw-admin.cc b/src/rgw/radosgw-admin/radosgw-admin.cc index a8d22d99e029..4e2c39d6a9cf 100644 --- a/src/rgw/radosgw-admin/radosgw-admin.cc +++ b/src/rgw/radosgw-admin/radosgw-admin.cc @@ -5149,7 +5149,7 @@ int main(int argc, const char **argv) encode_json("user quota", period_config.quota.user_quota, formatter.get()); } else { cerr << "ERROR: invalid quota scope specification. Please specify " - "either --quota-scope=bucket, or --quota-scope=user" << std::endl; + "either --quota-scope=bucket or --quota-scope=user" << std::endl; return EINVAL; } formatter->close_section(); @@ -6372,7 +6372,7 @@ int main(int argc, const char **argv) } if (!zone_name.empty() && !zone.get_name().empty() && zone.get_name() != zone_name) { - cerr << "Error: zone name " << zone_name << " is different than the zone name " << zone.get_name() << " in the provided json " << std::endl; + cerr << "ERROR: zone name " << zone_name << " is different than the zone name " << zone.get_name() << " in the provided json " << std::endl; return EINVAL; } @@ -7640,8 +7640,8 @@ int main(int argc, const char **argv) return -ret; } ldpp_dout(dpp(), 20) << "INFO: " << __func__ << - ": list() returned without error; results.objs.sizie()=" << - results.objs.size() << "results.is_truncated=" << results.is_truncated << ", marker=" << + ": list() returned without error; results.objs.size()=" << + results.objs.size() << ", results.is_truncated=" << results.is_truncated << ", marker=" << params.marker << dendl; count += results.objs.size(); -- 2.47.3