Mark ServerStatus::excludeOnRecruit const

This commit is contained in:
sfc-gh-tclinkenbeard 2021-02-01 20:10:03 -08:00
parent 0aafd9d5f0
commit ea4f6850da
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ struct ServerStatus {
// If a process has reappeared without the storage server that was on it (isFailed == true), we don't need to
// exclude it We also don't need to exclude processes who are in the wrong configuration (since those servers will
// be removed)
bool excludeOnRecruit() { return !isFailed && !isWrongConfiguration; }
bool excludeOnRecruit() const { return !isFailed && !isWrongConfiguration; }
};
typedef AsyncMap<UID, ServerStatus> ServerStatusMap;