Skip to content
Snippets Groups Projects
Commit 0cac6e5d authored by tewk's avatar tewk
Browse files

Fixed bug, to make send_only_node to work with any node and not default to the controllers

added errno definition
parent 56ebb9ef
No related branches found
No related tags found
No related merge requests found
......@@ -7,4 +7,5 @@
/* SLRUMD error codes */
#define ESLRUMD_PIPE_ERROR_ON_TASK_SPAWN 90000
#define ESLURMD_KILL_TASK_FAILED 90001
#define ESLURMD_OPENSSL_ERROR 90002
#endif
......@@ -648,7 +648,7 @@ int slurm_send_only_node_msg ( slurm_msg_t * request_msg )
slurm_fd sockfd ;
/* init message connection for message communication with controller */
if ( ( sockfd = slurm_open_controller_conn ( ) ) == SLURM_SOCKET_ERROR )
if ( ( sockfd = slurm_open_msg_conn ( & request_msg -> address ) ) == SLURM_SOCKET_ERROR )
return SLURM_SOCKET_ERROR ;
/* send request message */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment