Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rgw: remove the field ret from class RGWPutLC #10726

Merged
merged 1 commit into from Oct 4, 2016

Conversation

weiqiaomiao
Copy link
Contributor

remove the field ret from class RGWPutLC, because it should use op_ret which had defined in class RGWOp.

Signed-off-by: weiqiaomiao wei.qiaomiao@zte.com.cn

@xiexingguo
Copy link
Member

Does not compile, see below:

[ 96%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/object_map/test_mock_UnlockRequest.cc.o
/home/jenkins-build/build/workspace/ceph-pull-requests/src/rgw/rgw_rest.cc: In member function ‘virtual int RGWPutLC_ObjStore::get_params()’:
/home/jenkins-build/build/workspace/ceph-pull-requests/src/rgw/rgw_rest.cc:1193:15: error: ‘ret’ was not declared in this scope
        return ret;
               ^
[ 96%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_rest_client.cc.o

remove the field ret from class RGWPutLC, because it should use op_ret which had defined in class RGWOp.

Signed-off-by: weiqiaomiao <wei.qiaomiao@zte.com.cn>
@weiqiaomiao
Copy link
Contributor Author

@xiexingguo thanks. I have been fixed it

@yehudasa yehudasa merged commit 91a70c3 into ceph:master Oct 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants