std::cerr << "ioctx_create " << pool_name << " failed with " << ret << std::endl;
exit(1);
}
+ ioctx.application_enable("rados", true);
ret = ioctx.create(obj_name, false);
if (ret < 0) {
}
ioctx.close();
+ ret = cluster.pool_delete(pool_name.c_str());
+ if (ret < 0) {
+ std::cerr << "pool_delete failed with " << ret << std::endl;
+ exit(1);
+ }
}
#pragma GCC diagnostic pop