mirror of
https://github.com/ceph/ceph
synced 2025-02-21 01:47:25 +00:00
Merge pull request #40585 from yuvalif/wip-yuval-fix-50135
rgw/multisite: handle case when empty marker is provided
This commit is contained in:
commit
d9b3fd3b01
@ -251,7 +251,7 @@ cursorgen(std::string_view cursor_) {
|
||||
|
||||
inline std::pair<uint64_t, std::string_view>
|
||||
cursorgeno(std::optional<std::string_view> cursor) {
|
||||
if (cursor) {
|
||||
if (cursor && !cursor->empty()) {
|
||||
return cursorgen(*cursor);
|
||||
} else {
|
||||
return { 0, ""s };
|
||||
|
Loading…
Reference in New Issue
Block a user