Replace any deprecated isolator names with their current equivalents.
| 217 | |
| 218 | // Replace any deprecated isolator names with their current equivalents. |
| 219 | foreachpair (const string& name, |
| 220 | const vector<string>& replacements, |
| 221 | deprecations) { |
| 222 | if (isolations->contains(name)) { |
| 223 | LOG(WARNING) |
| 224 | << "The '" << name << "' isolation flag is deprecated, " |
| 225 | << "please update your flags to" |
| 226 | << " '--isolation=" << strings::join(",", replacements) << "'."; |
| 227 | |
| 228 | isolations->erase(name); |
| 229 | |
| 230 | foreach (const string& isolator, replacements) { |
| 231 | isolations->insert(isolator); |
| 232 | } |
| 233 | } |
| 234 | } |
| 235 | |
| 236 | // One and only one filesystem isolator is required. The filesystem |
| 237 | // isolator is responsible for preparing the filesystems for |