Skip to contentSkip to conversation

conga/luci/site/luci/Extensions cluster_adapte ...

Cluster-devel [email protected] 1 participant 1 message Jul 24, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: jparsons at sourceware.org 2006-07-24 21:13:45

Modified files:
luci/site/luci/Extensions: cluster_adapters.py

Log message:
minor change in mcast section

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/cluster_adapters.py.diff?cvsroot=cluster&r1=1.10&r2=1.11

luci/site/luci/Extensions/cluster_adapters.py +5 -2
@@ -922,8 +922,8 @@
   response.redirect(req['HTTP_REFERER'] + "&busyfirst=true")
   
 def getClusterInfo(self, model, req):
-  baseurl = req['URL'] + "?" + PAGETYPE + "=" + CLUSTER_PROCESS + "&" + CLUNAME + "=" + cluname + "&"
   cluname = req[CLUNAME]
+  baseurl = req['URL'] + "?" + PAGETYPE + "=" + CLUSTER_PROCESS + "&" + CLUNAME + "=" + cluname + "&"
   map = {}
   basecluster_url = baseurl + ACTIONTYPE + "=" + BASECLUSTER
   #needed:
@@ -956,9 +956,12 @@
   map['multicast_url'] = multicast_url
   #mcast addr
   is_mcast = model.isMulticast()
-  map['is_mcast'] = is_mcast
+  #map['is_mcast'] = is_mcast
   if is_mcast:
     map['mcast_addr'] = model.getMcastAddr()
+    map['is_mcast'] = "True"
+  else:
+    map['is_mcast'] = "False"
     
   #-------------
   #quorum disk params