Blame SOURCES/bz1070916-pcmk-fencing_pass_the_correct_options_when_looking_up_the_history_by_node_name.patch
|
|
7100e8 |
commit f50f6e73625bab6c6feee82acf94f84bede0137c
|
|
|
7100e8 |
Author: Andrew Beekhof <andrew@beekhof.net>
|
|
|
7100e8 |
Date: Thu Feb 27 11:28:35 2014 +1100
|
|
|
7100e8 |
|
|
|
7100e8 |
Fix: Fencing: Pass the correct options when looking up the history by node name
|
|
|
7100e8 |
|
|
|
7100e8 |
(cherry picked from commit d9921e5783ef7a33bcacf844a4268bd08e583a93)
|
|
|
7100e8 |
|
|
|
7100e8 |
diff --git a/lib/fencing/st_client.c b/lib/fencing/st_client.c
|
|
|
7100e8 |
index 7f2204f..02f2836 100644
|
|
|
7100e8 |
--- a/lib/fencing/st_client.c
|
|
|
7100e8 |
+++ b/lib/fencing/st_client.c
|
|
|
7100e8 |
@@ -2446,7 +2446,7 @@ stonith_api_time(uint32_t nodeid, const char *uname, bool in_progress)
|
|
|
7100e8 |
int progress = 0;
|
|
|
7100e8 |
int completed = 0;
|
|
|
7100e8 |
|
|
|
7100e8 |
- rc = st->cmds->history(st, st_opt_sync_call | st_opt_cs_nodeid, name, &history, 120);
|
|
|
7100e8 |
+ rc = st->cmds->history(st, opts, name, &history, 120);
|
|
|
7100e8 |
|
|
|
7100e8 |
for (hp = history; hp; hp = hp->next) {
|
|
|
7100e8 |
entries++;
|