From 835e5f83c4994cf210668dfe340c32de0d87b176 Mon Sep 17 00:00:00 2001
From: Josh Samuelson <josh@1up.unl.edu>
Date: Fri, 17 Feb 2017 13:29:16 -0700
Subject: [PATCH] Fix response given, continuation of commit fad27852dbf021

---
 src/slurmctld/acct_policy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/slurmctld/acct_policy.c b/src/slurmctld/acct_policy.c
index 6e61e2dc5d7..56c8d303237 100644
--- a/src/slurmctld/acct_policy.c
+++ b/src/slurmctld/acct_policy.c
@@ -1380,7 +1380,7 @@ static int _qos_policy_validate(job_desc_msg_t *job_desc,
 			if (strict_checking
 			    && job_desc->time_limit > qos_ptr->grp_wall) {
 				if (reason)
-					*reason = WAIT_ASSOC_GRP_WALL;
+					*reason = WAIT_QOS_GRP_WALL;
 				debug2("job submit for user %s(%u): "
 				       "time limit %u exceeds qos grp max %u",
 				       user_name,
-- 
GitLab