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