fix(userspace/engine): solve integration test errors

Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
This commit is contained in:
Jason Dellaluce
2022-04-06 16:02:55 +00:00
committed by poiana
parent c0f8171d89
commit e50d22f013

View File

@@ -586,6 +586,8 @@ bool rule_loader::read(const string &content, falco_engine* engine,
return false;
}
for(auto it = doc->begin(); it != doc->end(); it++)
{
if (!it->IsNull())
{
string ctx = yaml_format_object(content, docs, doc, it);
YAML::Node item = *it;
@@ -604,6 +606,7 @@ bool rule_loader::read(const string &content, falco_engine* engine,
}
}
}
}
return true;
}