From baded5e89befa038fdc7fc8296da1c42c534a3db Mon Sep 17 00:00:00 2001
From: Danny Auble <da@schedmd.com>
Date: Mon, 25 Jan 2016 14:16:16 -0800
Subject: [PATCH] Comment code to note why certain RPCs are handled differently
 than others in the forward message logic.

---
 src/common/forward.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/common/forward.c b/src/common/forward.c
index 6bd2f2f2bf4..49a6a062f66 100644
--- a/src/common/forward.c
+++ b/src/common/forward.c
@@ -215,6 +215,10 @@ void *_forward_thread(void *arg)
 			goto cleanup;
 		}
 
+		/* These messages don't have a return message, but if
+		 * we got here things worked out so make note of the
+		 * list of nodes as success.
+		 */
 		if ((fwd_msg->header.msg_type == REQUEST_SHUTDOWN) ||
 		    (fwd_msg->header.msg_type == REQUEST_RECONFIGURE) ||
 		    (fwd_msg->header.msg_type == REQUEST_REBOOT_NODES)) {
-- 
GitLab