]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/radosgw-admin: minor typo fixes 68020/head
authorNithya Balachandran <nithya.balachandran@ibm.com>
Thu, 26 Mar 2026 09:51:35 +0000 (09:51 +0000)
committerNithya Balachandran <nithya.balachandran@ibm.com>
Thu, 26 Mar 2026 09:51:35 +0000 (09:51 +0000)
Fixes typos in user facing log/error messages in radosgw-admin.

Signed-off-by: Nithya Balachandran <nithya.balachandran@ibm.com>
src/rgw/radosgw-admin/radosgw-admin.cc

index a8d22d99e029ac42373700a846b522791a49fedc..4e2c39d6a9cf5452192b070bdc5750e271511f6f 100644 (file)
@@ -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();