Blob Blame History Raw
commit f50f6e73625bab6c6feee82acf94f84bede0137c
Author: Andrew Beekhof <andrew@beekhof.net>
Date:   Thu Feb 27 11:28:35 2014 +1100

    Fix: Fencing: Pass the correct options when looking up the history by node name
    
    (cherry picked from commit d9921e5783ef7a33bcacf844a4268bd08e583a93)

diff --git a/lib/fencing/st_client.c b/lib/fencing/st_client.c
index 7f2204f..02f2836 100644
--- a/lib/fencing/st_client.c
+++ b/lib/fencing/st_client.c
@@ -2446,7 +2446,7 @@ stonith_api_time(uint32_t nodeid, const char *uname, bool in_progress)
         int progress = 0;
         int completed = 0;
 
-        rc = st->cmds->history(st, st_opt_sync_call | st_opt_cs_nodeid, name, &history, 120);
+        rc = st->cmds->history(st, opts, name, &history, 120);
 
         for (hp = history; hp; hp = hp->next) {
             entries++;