View | Details | Raw Unified | Return to ticket 14634 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/slurmctld/reservation.c (-1 / +9 lines)
Lines 2455-2460 extern int create_resv(resv_desc_msg_t *resv_desc_ptr) Link Here
2455
		}
2455
		}
2456
	}
2456
	}
2457
2457
2458
	if (((resv_desc_ptr->flags & RESERVE_FLAG_REPLACE) ||
2459
	     (resv_desc_ptr->flags & RESERVE_FLAG_REPLACE_DOWN)) &&
2460
	    ((resv_desc_ptr->flags & RESERVE_FLAG_STATIC) ||
2461
	     (resv_desc_ptr->flags & RESERVE_FLAG_MAINT))) {
2462
		info("REPLACE and REPLACE_DOWN flags cannot be used with STATIC_ALLOC or MAINT flags");
2463
		rc = ESLURM_NOT_SUPPORTED;
2464
		goto bad_parse;
2465
	}
2466
2458
	if (resv_desc_ptr->partition) {
2467
	if (resv_desc_ptr->partition) {
2459
		part_ptr = find_part_record(resv_desc_ptr->partition);
2468
		part_ptr = find_part_record(resv_desc_ptr->partition);
2460
		if (!part_ptr) {
2469
		if (!part_ptr) {
2461
- 

Return to ticket 14634