Permalink
Browse files

Merge pull request #710 from HideoYamauchi/1.1

Low : fencing : Correction of the log output of the practice node of …
  • Loading branch information...
beekhof committed Jun 2, 2015
2 parents a1d8df1 + 9020865 commit a0449d443fa5c834207def5fe36a117a53c334d6
Showing with 3 additions and 1 deletion.
  1. +3 −1 fencing/remote.c
View
@@ -278,10 +278,12 @@ remote_op_done(remote_fencing_op_t * op, xmlNode * data, int rc, int dup)
goto remote_op_done_cleanup;
}
if (!op->delegate && data) {
if (!op->delegate && data && rc != -ENODEV && rc != -EHOSTUNREACH) {
xmlNode *ndata = get_xpath_object("//@" F_STONITH_DELEGATE, data, LOG_TRACE);
if(ndata) {
op->delegate = crm_element_value_copy(ndata, F_STONITH_DELEGATE);
} else {
op->delegate = crm_element_value_copy(data, F_ORIG);
}
}

0 comments on commit a0449d4

Please sign in to comment.