[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] conga/luci/site/luci/Extensions cluster_adapte ...



CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	jparsons sourceware org	2006-08-13 17:32:24

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

Log message:
	Had log url in wrong place

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

--- conga/luci/site/luci/Extensions/cluster_adapters.py	2006/08/13 16:15:28	1.48
+++ conga/luci/site/luci/Extensions/cluster_adapters.py	2006/08/13 16:32:24	1.49
@@ -1571,6 +1571,7 @@
       map['status'] = NODE_INACTIVE
       map['status_str'] = NODE_INACTIVE_STR
 
+    map['logurl'] = baseurl + "?pagetype=" + NODE_LOGS + "&nodename=" + name + "&clustername=" + clustername                                                                            
     #set up URLs for dropdown menu...
     if map['status'] == NODE_ACTIVE:
       map['jl_url'] = baseurl + "?pagetype=" + NODE_PROCESS + "&task=" + NODE_LEAVE_CLUSTER + "&nodename=" + name + "&clustername=" + clustername
@@ -1619,11 +1620,11 @@
   #rb = ricci_bridge(nodename_resolved)
   #return rb.getNodeLogs()
 
-  str_buf = ""
+  str_buf = "Logging stuff <br/>"
   file = open("./conga_constants.py", 'r')
   lines = file.readlines()
   for line in lines:
-  str_buf = str_buf + line + "<br/>"
+    str_buf = str_buf + line + "<br/>"
   return str_buf
 
 def isClusterBusy(self, req):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]