}
void AuthMonitor::process_used_pending_keys(
- const std::map<EntityName,CryptoKey>& used_pending_keys)
+ const map<EntityName,CryptoKey>& used_pending_keys)
{
for (auto& [name, used_key] : used_pending_keys) {
dout(10) << __func__ << " used pending_key for " << name << dendl;
err = -EINVAL;
goto done;
} else {
- mon_cap_string += " fsname=" + std::string(fs->get_mds_map().get_fs_name());
+ mon_cap_string += " fsname=" + string(fs->get_mds_map().get_fs_name());
}
}
mds_cap_string += "allow " + cap;
if (filesystem != "*" && filesystem != "all" && fs != nullptr) {
- mds_cap_string += " fsname=" + std::string(fs->get_mds_map().get_fs_name());
+ mds_cap_string += " fsname=" + string(fs->get_mds_map().get_fs_name());
}
if (path != "/") {
// set daemon profiles
if ((p->first.is_osd() || p->first.is_mds()) &&
mon_caps == "allow rwx") {
- new_caps = string("allow profile ") + std::string(p->first.get_type_name());
+ new_caps = string("allow profile ") + string(p->first.get_type_name());
}
// update bootstrap keys