From 7576b2bcaa308028868337b28a9d19777fe1f115 Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Thu, 6 Mar 2003 20:19:01 +0000
Subject: [PATCH] Add new error code ESLURM_REQUESTED_PART_CONFIG_UNAVAILABLE.

---
 slurm/slurm_errno.h      | 1 +
 src/common/slurm_errno.c | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/slurm/slurm_errno.h b/slurm/slurm_errno.h
index a6381640517..7166a97751f 100644
--- a/slurm/slurm_errno.h
+++ b/slurm/slurm_errno.h
@@ -103,6 +103,7 @@ enum {
 	ESLURM_PATHNAME_TOO_LONG,
 	ESLURM_NOT_TOP_PRIORITY,
 	ESLURM_REQUESTED_NODE_CONFIG_UNAVAILABLE,
+	ESLURM_REQUESTED_PART_CONFIG_UNAVAILABLE,
 	ESLURM_NODES_BUSY,
 	ESLURM_INVALID_JOB_ID,
 	ESLURM_INVALID_NODE_NAME,
diff --git a/src/common/slurm_errno.c b/src/common/slurm_errno.c
index 7be6a0bd2a8..093ad8fc672 100644
--- a/src/common/slurm_errno.c
+++ b/src/common/slurm_errno.c
@@ -110,6 +110,8 @@ static slurm_errtab_t slurm_errtab[] = {
 	  "Immediate execution impossible, higher priority jobs pending" },
 	{ ESLURM_REQUESTED_NODE_CONFIG_UNAVAILABLE,
 	  "Requested node configuration is not available"	},
+	{ ESLURM_REQUESTED_PART_CONFIG_UNAVAILABLE,
+	  "Requested partition configuration is not available"	},
 	{ ESLURM_NODES_BUSY, 
 	  "Requested nodes are busy"				},
 	{ ESLURM_INVALID_JOB_ID, 
-- 
GitLab