Skip to contentSkip to conversation

conga ./clustermon.spec.in.in ricci/modules/cl ...

Cluster-devel [email protected] 1 participant 1 message Dec 13, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: kupcevic at sourceware.org 2006-12-13 19:14:54

Modified files:
. : clustermon.spec.in.in
ricci/modules/cluster/clumon/src/daemon: Monitor.cpp

Log message:
Improved bz218941: Conga/luci - cannot add node to cluster via luci web app

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/clustermon.spec.in.in.diff?cvsroot=cluster&r1=1.24&r2=1.25
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/clumon/src/daemon/Monitor.cpp.diff?cvsroot=cluster&r1=1.12&r2=1.13

clustermon.spec.in.in +2 -2
@@ -195,13 +195,13 @@
 
 %changelog
 
-* day month date 2006 Stanko Kupcevic <[email protected]> 0.9.1-2
+* Tue Dec 12 2006 Stanko Kupcevic <[email protected]> 0.9.1-2
 
 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 XXXXXXXXXXXXXXXXXXX UPDATE NOT RELEASED YET XXXXXXXXXXXXXXXXXXX
 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
-- 
+- Improved bz218941: Conga/luci - cannot add node to cluster via luci web app
 
 
 
ricci/modules/cluster/clumon/src/daemon/Monitor.cpp +3 -1
@@ -269,7 +269,9 @@
   msg = generateXML(msg_xml);
   
   // return nodes - nodename
-  nodes.erase(find(nodes.begin(), nodes.end(), nodename));
+  vector<String>::iterator iter = find(nodes.begin(), nodes.end(), nodename);
+  if (iter != nodes.end())
+    nodes.erase(iter);
   return nodes;
 }