Don't check the root node because it does not have quota set.
| 130 | { |
| 131 | // Don't check the root node because it does not have quota set. |
| 132 | foreachvalue (const unique_ptr<Node>& child, root->children) { |
| 133 | Option<Error> error = child->validate(); |
| 134 | if (error.isSome()) { |
| 135 | return error; |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | return None(); |
| 140 | } |