mirror of
https://github.com/ceph/ceph
synced 2025-02-22 02:27:29 +00:00
rgw: fix zone delete message
Though this error message is hard to reach, it is still wrongly printed as failed to create instead of failed to delete. Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
This commit is contained in:
parent
19aabf4a30
commit
acea6efb5e
@ -3261,7 +3261,7 @@ int main(int argc, char **argv)
|
||||
|
||||
ret = zone.delete_obj();
|
||||
if (ret < 0) {
|
||||
cerr << "failed to create zone " << zone_name << ": " << cpp_strerror(-ret) << std::endl;
|
||||
cerr << "failed to delete zone " << zone_name << ": " << cpp_strerror(-ret) << std::endl;
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user