Skip to content
Snippets Groups Projects
Commit 6efc1c38 authored by Julien Leduc's avatar Julien Leduc
Browse files

updating deprecated ceph API

parent 6f33b8e0
Branches
Tags v0.0-81
No related merge requests found
......@@ -108,7 +108,7 @@ bool BackendRados::exists(std::string name) {
std::list<std::string> BackendRados::list() {
std::list<std::string> ret;
for (auto o=m_radosCtx.objects_begin(); o!=m_radosCtx.objects_end(); o++) {
for (auto o=m_radosCtx.nobjects_begin(); o!=m_radosCtx.nobjects_end(); o++) {
ret.push_back(o->first);
}
return ret;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment