Skip to content

Commit

Permalink
Merge pull request #710 from HideoYamauchi/1.1
Browse files Browse the repository at this point in the history
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 a0449d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fencing/remote.c
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit a0449d4

Please sign in to comment.