failure_detector: Print application_state properly

This commit is contained in:
Asias He
2015-11-30 09:26:09 +08:00
committed by Pekka Enberg
parent aaca88a1e7
commit db70643fe3

View File

@@ -192,8 +192,7 @@ void failure_detector::append_endpoint_state(std::stringstream& ss, endpoint_sta
if (app_state == application_state::TOKENS) {
continue;
}
// FIXME: Add operator<< for application_state
ss << " " << int32_t(app_state) << ":" << value.value << "\n";
ss << " " << app_state << ":" << value.value << "\n";
}
}