Skip to content

Commit

Permalink
rgw: AbortMultipart request needn't return error if the meta obj doesn't
Browse files Browse the repository at this point in the history
exist.

Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
  • Loading branch information
Zhang Shaowen committed Jan 5, 2017
1 parent 71fa695 commit 990a6b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rgw/rgw_op.cc
Expand Up @@ -5100,7 +5100,7 @@ void RGWAbortMultipart::execute()
// and also remove the metadata obj
op_ret = del_op.delete_obj();
if (op_ret == -ENOENT) {
op_ret = -ERR_NO_SUCH_BUCKET;
op_ret = 0;
}
}

Expand Down

0 comments on commit 990a6b7

Please sign in to comment.