From 333b0b930dcc3e9531fbafc3bc240fa538d5976c Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Mon, 28 Apr 2003 18:22:31 +0000
Subject: [PATCH] Use actual node configuration information for state save
 instead of node configuration from slurm.conf file.

---
 src/slurmctld/node_mgr.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/slurmctld/node_mgr.c b/src/slurmctld/node_mgr.c
index a2f833f1453..9a86cd35b06 100644
--- a/src/slurmctld/node_mgr.c
+++ b/src/slurmctld/node_mgr.c
@@ -376,9 +376,9 @@ _dump_node_state (struct node_record *dump_node_ptr, Buf buffer)
 {
 	packstr (dump_node_ptr->name, buffer);
 	pack16  (dump_node_ptr->node_state, buffer);
-	pack32  (dump_node_ptr->config_ptr->cpus, buffer);
-	pack32  (dump_node_ptr->config_ptr->real_memory, buffer);
-	pack32  (dump_node_ptr->config_ptr->tmp_disk, buffer);
+	pack32  (dump_node_ptr->cpus, buffer);
+	pack32  (dump_node_ptr->real_memory, buffer);
+	pack32  (dump_node_ptr->tmp_disk, buffer);
 }
 
 /*
-- 
GitLab