Keep machine stats even when a machine is removed from the machines file

This is important for the Hydra provisioner, since it needs to be able
to see whether a disabled machine still has jobs running on it.
This commit is contained in:
Eelco Dolstra
2015-09-02 13:31:47 +02:00
parent 2d116d758a
commit 7e954aff03
3 changed files with 11 additions and 1 deletions

View File

@@ -201,6 +201,8 @@ struct Machine
{
typedef std::shared_ptr<Machine> ptr;
bool enabled{true};
std::string sshName, sshKey;
std::set<std::string> systemTypes, supportedFeatures, mandatoryFeatures;
unsigned int maxJobs = 1;