Skip to contentSkip to conversation

conga ./conga.spec.in.in luci/cluster/form-mac ...

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

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2006-12-08 20:47:37

Modified files:

	.              : conga.spec.in.in 
	luci/cluster   : form-macros 
	luci/homebase  : validate_cluster_add.js 

luci/site/luci/Extensions: cluster_adapters.py

Log message:
- more fence fixes
- fix for most of the add node fails bug
- fix for 218964

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/conga.spec.in.in.diff?cvsroot=cluster&r1=1.57&r2=1.58
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/form-macros.diff?cvsroot=cluster&r1=1.125&r2=1.126
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/validate_cluster_add.js.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/cluster_adapters.py.diff?cvsroot=cluster&r1=1.176&r2=1.177

conga.spec.in.in +1 -1
@@ -284,7 +284,7 @@
 
 %changelog
 
-* Wed Dec 06 2006 2006 Stanko Kupcevic <[email protected]> 0.9.1-2
+* Wed Dec 06 2006 Stanko Kupcevic <[email protected]> 0.9.1-2
 
 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 XXXXXXXXXXXXXXXXXXX UPDATE NOT RELEASED YET XXXXXXXXXXXXXXXXXXX
luci/cluster/form-macros +72 -35

163 lines not on this page · raw message

luci/homebase/validate_cluster_add.js +7 -1
@@ -29,7 +29,13 @@
 	if (error_dialog(errors))
 		return (-1);
 
-	if (confirm('Add the cluster \"' + clusterName + '\" to the Luci management interface?'))
+	var confirm_str = '';
+	if (form.addnode)
+		confirm_str = 'Add node' + (added_storage.length > 1 ? 's' : '') + ' to the \"' + clusterName + '\" cluster?';
+	else
+		confirm_str = 'Add the cluster \"' + clusterName + '\" to the Luci management interface?';
+
+	if (confirm(confirm_str))
 		form.submit();
 
 	return (0);
luci/site/luci/Extensions/cluster_adapters.py +57 -26

151 lines not on this page · raw message