Skip to content

Commit

Permalink
hydra: slurm hostlist_t should be used as pointer
Browse files Browse the repository at this point in the history
Appears Slurm changed the signature and usage of its hostlist function
and hostlist_t type. `hostlist_t` is an opaque struct, and should be
used in its pointer form.
  • Loading branch information
hzhou committed Nov 29, 2023
1 parent 339c789 commit 7a28682
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ static struct HYD_node *global_node_list = NULL;
#if defined(HAVE_SLURM)
static HYD_status list_to_nodes(char *str)
{
hostlist_t hostlist;
hostlist_t *hostlist;
char *host;
int k = 0;
HYD_status status = HYD_SUCCESS;
Expand Down

0 comments on commit 7a28682

Please sign in to comment.