Blame SOURCES/0028-cli-get-list-of-possible-workflows-for-problem_data_.patch

e0b939
From 58dcdd2f2780263e79a82ecebb27b000b0583979 Mon Sep 17 00:00:00 2001
e0b939
From: Jakub Filak <jfilak@redhat.com>
e0b939
Date: Thu, 6 Dec 2018 18:01:13 +0100
e0b939
Subject: [PATCH] cli: get list of possible workflows for problem_data_t
e0b939
e0b939
File system access is not possible, so we have to rely on the data
e0b939
transfered via D-Bus.
e0b939
e0b939
(cherry-picked from f2055f8c6469b590172d94e9ea530243af89f028)
e0b939
e0b939
Signed-off-by: Jakub Filak <jfilak@redhat.com>
e0b939
---
e0b939
 src/cli/list.c | 2 +-
e0b939
 1 file changed, 1 insertion(+), 1 deletion(-)
e0b939
e0b939
diff --git a/src/cli/list.c b/src/cli/list.c
e0b939
index f16ce8c0d..e688d2f49 100644
e0b939
--- a/src/cli/list.c
e0b939
+++ b/src/cli/list.c
e0b939
@@ -99,7 +99,7 @@ static void print_crash(problem_data_t *problem_data, int detailed, int text_siz
e0b939
              * libreport and try to improve libreport public API.
e0b939
              */
e0b939
             const char *const dump_dir_name = problem_data_get_content_or_NULL(problem_data, CD_DUMPDIR);
e0b939
-            GList *const wf_names = list_possible_events_glist(dump_dir_name, "workflow");
e0b939
+            GList *const wf_names = list_possible_events_problem_data_glist(problem_data, dump_dir_name, "workflow");
e0b939
             GHashTable *const possible_workflows = load_workflow_config_data_from_list(wf_names, WORKFLOWS_DIR);
e0b939
             g_list_free_full(wf_names, free);
e0b939
 
e0b939
-- 
e0b939
2.17.2
e0b939