for (auto const& elm : host->getMountedStorages()) {
const char* mount_name = elm.first.c_str();
sg_storage_t storage = elm.second;
- xbt_dict_set(res, mount_name, (void*)storage->getName(), nullptr);
+ xbt_dict_set(res, mount_name, (void*)storage->getCname(), nullptr);
}
return res;