Skip to contentSkip to conversation

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

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

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: jparsons at 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

luci/site/luci/Extensions/cluster_adapters.py +3 -2
@@ -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):