Merge pull request #1937 from birarda/master

pools are allowed to have dashes
This commit is contained in:
ZappoMan 2014-02-08 11:36:35 -08:00
commit ad8683a4a9

View file

@ -171,7 +171,7 @@ void DomainServer::createStaticAssignmentsForTypeGivenConfigString(Assignment::T
QStringList multiConfigList = configString.split(";", QString::SkipEmptyParts);
const QString ASSIGNMENT_CONFIG_POOL_REGEX = "--pool\\s*(\\w+)";
const QString ASSIGNMENT_CONFIG_POOL_REGEX = "--pool\\s*([\\w-]+)";
QRegExp poolRegex(ASSIGNMENT_CONFIG_POOL_REGEX);
// read each config to a payload for this type of assignment