From b795661328ef6ccf0adbbe8c229c55352a472f7d Mon Sep 17 00:00:00 2001 From: Ned Wright Date: Wed, 28 Feb 2024 15:04:14 +0000 Subject: [PATCH] Moving yq to be taken from environment --- .../security_apps/local_policy_mgmt_gen/policy_maker_utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/security_apps/local_policy_mgmt_gen/policy_maker_utils.cc b/components/security_apps/local_policy_mgmt_gen/policy_maker_utils.cc index 442a5ac..a96f0e4 100755 --- a/components/security_apps/local_policy_mgmt_gen/policy_maker_utils.cc +++ b/components/security_apps/local_policy_mgmt_gen/policy_maker_utils.cc @@ -58,7 +58,7 @@ Maybe PolicyMakerUtils::openFileAsJson(const string &path) { auto maybe_file_as_json = Singleton::Consume::by()->getExecOutput( - getFilesystemPathConfig() + "/bin/yq " + path + " -o json" + getFilesystemPathConfig() + "/bin/yq eval " + path + " -o json" ); if (!maybe_file_as_json.ok()) {