Enable listMounts to get eden list working

Reviewed By: simpkins

Differential Revision: D19510624

fbshipit-source-id: e097c5b412e62d6856179db971296f8389ec8991
This commit is contained in:
Puneet Kaushik 2020-01-23 12:40:08 -08:00 committed by Facebook Github Bot
parent 3f326e911c
commit 32cc7c1eca

View File

@ -366,7 +366,6 @@ void EdenServiceHandler::unmount(std::unique_ptr<std::string> mountPoint) {
}
void EdenServiceHandler::listMounts(std::vector<MountInfo>& results) {
#ifndef _WIN32
auto helper = INSTRUMENT_THRIFT_CALL(DBG3);
for (const auto& edenMount : server_->getAllMountPoints()) {
MountInfo info;
@ -375,9 +374,6 @@ void EdenServiceHandler::listMounts(std::vector<MountInfo>& results) {
info.state = edenMount->getState();
results.push_back(info);
}
#else
NOT_IMPLEMENTED();
#endif // !_WIN32
}
void EdenServiceHandler::checkOutRevision(