Update Configuration Checks authored by Alain O' Miniussi's avatar Alain O' Miniussi
......@@ -9,10 +9,12 @@ When loading the configuration, all registered checks will be called upon the pr
## example
Let say you want to make sure that user does not specify both co-rotating referential and the rotation speed:
```
bool
CheckReferentialRotation(pt::ptree const& pt, std::ostream& log) {
DiskReferentialType type = pt.get<DiskReferentialType>("Disk.Referential.Type");
DiskReferentialType type = pt.get<DiskReferentialType>("Disk.Referential.Type");
bool pass = true;
switch (type) {
case DR_COROTATING:
......
......