|
@@ -185,7 +185,8 @@ ModuleSpec::validate_config(ConstElementPtr data, const bool full) const {
|
|
bool
|
|
bool
|
|
ModuleSpec::validate_command(const std::string& command,
|
|
ModuleSpec::validate_command(const std::string& command,
|
|
ConstElementPtr args,
|
|
ConstElementPtr args,
|
|
- ElementPtr errors) {
|
|
|
|
|
|
+ ElementPtr errors)
|
|
|
|
+{
|
|
ConstElementPtr commands_spec = module_specification->find("commands");
|
|
ConstElementPtr commands_spec = module_specification->find("commands");
|
|
|
|
|
|
if (args->getType() != Element::map) {
|
|
if (args->getType() != Element::map) {
|