Skip to content
Snippets Groups Projects
Commit 20cb7609 authored by Danny Auble's avatar Danny Auble
Browse files

made sfree remove blocks

parent 38a96fb0
No related branches found
No related tags found
No related merge requests found
......@@ -154,7 +154,10 @@ int main(int argc, char *argv[])
itr = list_iterator_create(block_list);
while((block_name = list_next(itr))) {
msg.state = RM_PARTITION_FREE;
if(remove_blocks)
msg.state = RM_PARTITION_NAV;
else
msg.state = RM_PARTITION_FREE;
msg.bg_block_id = block_name;
rc = slurm_update_block(&msg);
if(rc != SLURM_SUCCESS)
......
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