Fix display of metahost jobs

Signed-off-by: James Ren <[email protected]>

--- autotest/frontend/client/src/autotest/afe/JobStatusDataSource.java  
2010-04-12 10:52:56.000000000 -0700
+++ autotest/frontend/client/src/autotest/afe/JobStatusDataSource.java  
2010-04-12 10:52:56.000000000 -0700
@@ -54,7 +54,7 @@
             queueEntry.put("status", new JSONString(translation));
             
             boolean hasHost = (queueEntry.get("host").isNull() == null);
-            boolean hasMetaHost = (queueEntry.get("meta_host") == null);
+            boolean hasMetaHost = (queueEntry.get("meta_host").isNull() == 
null);
             
             if (!hasHost && !hasMetaHost) {
                 queueEntry.put("hostname", new JSONString("(hostless)"));
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to