Skip to content

Commit

Permalink
fix(userspace/engine): store required engine version as string in -L …
Browse files Browse the repository at this point in the history
…json output

Signed-off-by: Lorenzo Susini <[email protected]>
  • Loading branch information
loresuso authored and poiana committed May 30, 2023
1 parent 6e12b95 commit 79b9d0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userspace/engine/falco_engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ void falco_engine::describe_rule(std::string *rule, bool json) const

// Store required engine version
auto required_engine_version = m_rule_collector.required_engine_version();
output["required_engine_version"] = required_engine_version.version;
output["required_engine_version"] = std::to_string(required_engine_version.version);

// Store required plugin versions
Json::Value plugin_versions = Json::arrayValue;
Expand Down

0 comments on commit 79b9d0f

Please sign in to comment.