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

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