You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2011/06/05 11:23:01 UTC

svn commit: r1132308 - in /incubator/mesos/trunk/src/webui/master: framework.tpl index.tpl

Author: benh
Date: Sun Jun  5 09:23:00 2011
New Revision: 1132308

URL: http://svn.apache.org/viewvc?rev=1132308&view=rev
Log:
Fixed a couple of bugs left over from switching public_dns to web_ui_url
for slave states in web UI.

Modified:
    incubator/mesos/trunk/src/webui/master/framework.tpl
    incubator/mesos/trunk/src/webui/master/index.tpl

Modified: incubator/mesos/trunk/src/webui/master/framework.tpl
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/webui/master/framework.tpl?rev=1132308&r1=1132307&r2=1132308&view=diff
==============================================================================
--- incubator/mesos/trunk/src/webui/master/framework.tpl (original)
+++ incubator/mesos/trunk/src/webui/master/framework.tpl Sun Jun  5 09:23:00 2011
@@ -56,7 +56,7 @@
       <td>{{task.state}}</td>
       %if task.slave_id in slaves:
         %s = slaves[task.slave_id]
-        <td><a href="http://{{s.public_dns}}:8081/">{{s.public_dns}}</a></td>
+        <td><a href="http://{{s.web_ui_url}}/">{{s.host}}</a></td>
       %else:
         <td>Slave {{task.slave_id}} (disconnected)</td>
       %end

Modified: incubator/mesos/trunk/src/webui/master/index.tpl
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/webui/master/index.tpl?rev=1132308&r1=1132307&r2=1132308&view=diff
==============================================================================
--- incubator/mesos/trunk/src/webui/master/index.tpl (original)
+++ incubator/mesos/trunk/src/webui/master/index.tpl Sun Jun  5 09:23:00 2011
@@ -120,7 +120,7 @@ Idle: {{idle_cpus}} CPUs, {{format_mem(i
   %for s in master.slaves:
     <tr>
     <td>{{s.id}}</td>
-    <td><a href="http://{{s.web_ui_url}}/">{{s.web_ui_url}}</a></td>
+    <td><a href="http://{{s.web_ui_url}}/">{{s.host}}</a></td>
     <td>{{s.cpus}}</td>
     <td>{{format_mem(s.mem)}}</td>
     <td>{{format_time(s.connect_time)}}</td>