#include "osd.h"
using config_t = crimson::common::ConfigProxy;
-namespace fs = seastar::compat::filesystem;
void usage(const char* prog) {
std::cout << "usage: " << prog << " -i <ID>\n"
seastar::file_permissions::user_write);
return crimson::write_file(std::move(bl), path, permissions);
}
- }).handle_exception_type([path](const fs::filesystem_error& e) {
+ }).handle_exception_type([path](const std::filesystem::filesystem_error& e) {
seastar::fprint(std::cerr, "FATAL: writing new keyring to %s: %s\n", path, e.what());
throw e;
});