Skip to content

Commit 559773e

Browse files
authored
Merge pull request ceph#54518 from NitzanMordhai/wip-nitzan-cleanomap-rados-optional
Tools/rados: Improve Error Messaging for Object Name Resolution Reviewed-by: Radoslaw Zarzynski <[email protected]> Reviewed-by: Matan Breizman <[email protected]>
2 parents 1e559d9 + 313bfca commit 559773e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/rados/rados.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2971,7 +2971,7 @@ static int rados_tool_common(const std::map < std::string, std::string > &opts,
29712971
for (const auto& oid : oids) {
29722972
ret = io_ctx.omap_clear(oid);
29732973
if (ret < 0) {
2974-
cerr << "error clearing omap keys " << pool_name << "/" << prettify(*obj_name) << "/"
2974+
cerr << "error clearing omap keys " << pool_name << "/" << prettify(oid) << "/"
29752975
<< cpp_strerror(ret) << std::endl;
29762976
return 1;
29772977
}

0 commit comments

Comments
 (0)