Skip to content

Commit

Permalink
irony: crash-inducing typo in log message for different crash condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Bailey authored and Stephen Bailey committed Aug 26, 2024
1 parent e5d683a commit 95d079b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/desi_use_reservation
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def get_reservation_info(name):
resinfo = json.loads(subprocess.check_output(cmd.split()))

if len(resinfo['reservations']) == 0:
log.critical(f'reservation {reservation} not found')
log.critical(f'reservation {name} not found')
sys.exit(1)
elif len(resinfo['reservations']) > 1:
log.critical(f'"{cmd}" returned info for more than one reservation')
Expand Down

0 comments on commit 95d079b

Please sign in to comment.