Skip to content

Commit

Permalink
Support updating end_time in slurm_update_reservation (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
pllopis authored Jan 6, 2023
1 parent da978a6 commit a2fa6e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyslurm/pyslurm.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -4314,6 +4314,9 @@ def slurm_update_reservation(dict reservation_dict={}):
if time_value != -1:
resv_msg.start_time = time_value

if reservation_dict.get('end_time'):
resv_msg.end_time = reservation_dict['end_time']

if reservation_dict.get('duration'):
resv_msg.duration = reservation_dict.get('duration')

Expand Down

0 comments on commit a2fa6e1

Please sign in to comment.