Skip to content

Commit

Permalink
fix invalid debug log in case of probe module (#107)
Browse files Browse the repository at this point in the history
Signed-off-by: Fabian Klemm <fabian.klemm@pionix.de>
  • Loading branch information
klemmpnx authored Oct 20, 2023
1 parent 3887a64 commit 8a8be8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,11 @@ void Config::load_and_validate_manifest(const std::string& module_id, const json
// load and validate module manifest.json
fs::path manifest_path = this->rs->modules_dir / module_name / "manifest.yaml";
try {
EVLOG_debug << fmt::format("Loading module manifest file at: {}", fs::canonical(manifest_path).string());

if (module_name != "ProbeModule") {
// FIXME (aw): this is implicit logic, because we know, that the ProbeModule manifest had been set up
// manually already
EVLOG_debug << fmt::format("Loading module manifest file at: {}", fs::canonical(manifest_path).string());
this->manifests[module_name] = load_yaml(manifest_path);
}

Expand Down

0 comments on commit 8a8be8e

Please sign in to comment.