Skip to content

Commit

Permalink
Merge pull request #2060 from kgaillot/rhbz1830535
Browse files Browse the repository at this point in the history
Fix: controller: properly detect remote node info requests
  • Loading branch information
kgaillot committed May 5, 2020
2 parents b923aa0 + 40fbb83 commit a404b23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemons/controld/controld_execd_state.c
Expand Up @@ -540,7 +540,7 @@ crmd_remote_proxy_cb(lrmd_t *lrmd, void *userdata, xmlNode *msg)
*/
if (safe_str_eq(crm_element_value(request, F_CRM_TASK),
CRM_OP_NODE_INFO)) {
int node_id;
int node_id = 0;

crm_element_value_int(request, XML_ATTR_ID, &node_id);
if ((node_id <= 0)
Expand Down

0 comments on commit a404b23

Please sign in to comment.