diff options
author | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2013-07-13 14:04:46 +0200 |
---|---|---|
committer | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2013-07-16 14:20:01 +0200 |
commit | 7a2e8a6f192d3c0a69411fe832d451ae09992e8c (patch) | |
tree | f6caae36457a426148f9df188c15787d7b960d49 | |
parent | 7769b01dc82573e2bdbbb5a47ae5e11809035442 (diff) | |
download | ceph-7a2e8a6f192d3c0a69411fe832d451ae09992e8c.tar.gz |
rgw/rgw_bucket.cc: return result of function calls
Return the result of rgw_(un)link_bucket()/ from
RGWBucketMetadataHandler::put() to signal errors correctly to
the function caller.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
-rw-r--r-- | src/rgw/rgw_bucket.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgw/rgw_bucket.cc b/src/rgw/rgw_bucket.cc index 288cc36c9e3..716cad18347 100644 --- a/src/rgw/rgw_bucket.cc +++ b/src/rgw/rgw_bucket.cc @@ -1418,7 +1418,7 @@ public: ret = rgw_unlink_bucket(store, be.owner, be.bucket.name, false); } - return 0; + return ret; } struct list_keys_info { |