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

reef: rgw/sal: get_placement_target_names() returns void #53584

Merged
merged 1 commit into from Oct 3, 2023

Conversation

cbodley
Copy link
Contributor

@cbodley cbodley commented Sep 21, 2023

backport tracker: https://tracker.ceph.com/issues/62924


backport of #53505
parent tracker: https://tracker.ceph.com/issues/62771

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

the function returned an integer error code, but two callers were
incorrectly testing the return value as a boolean

the function just returns placement ids that are in-memory, so none of
the drivers have a failure case; change the return value to void

Fixes: https://tracker.ceph.com/issues/62771

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 3ad17ed)
@cbodley cbodley requested a review from a team as a code owner September 21, 2023 17:35
@cbodley cbodley added this to the reef milestone Sep 21, 2023
@cbodley
Copy link
Contributor Author

cbodley commented Sep 21, 2023

jenkins test make check

@yuriw yuriw merged commit 27be5a7 into ceph:reef Oct 3, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants