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: fix error handling in get_params() of RGWPostObj_ObjStore_S3. #15670

Merged
merged 1 commit into from Jul 6, 2017

Conversation

Projects
None yet
3 participants
@rzarzynski
Contributor

rzarzynski commented Jun 13, 2017

The recent Static Analysis for Ceph (linked 13 June 2017 on ceph-devel) shows that the get_params() method of RGWPostObj_ObjStore assigns to a variable but doesn't use it later. The anomaly is caused by lack of proper error handling. This commit rectifies it.

Signed-off-by: Radoslaw Zarzynski rzarzynski@mirantis.com

rgw: fix error handling in get_params() of RGWPostObj_ObjStore_S3.
The recent Static Analysis for Ceph (linked 13 June 2017 on
ceph-devel) shows that the get_params method of RGWPostObj_ObjStore
assigns to a variable but doesn't use it later. The anomaly is
caused by lack of proper error handling. This commit rectifies it.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>

@yuriw yuriw merged commit 676e1c9 into ceph:master Jul 6, 2017

3 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodified Submodules submodules for project are unmodified
Details
make check make check succeeded
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment