[prev in list] [next in list] [prev in thread] [next in thread]
List: luci-commits
Subject: [Luci-commits] [luci] Fix a traceback that occurs when all nodes are unreachable
From: rmccabe () fedoraproject ! org (rmccabe)
Date: 2010-09-29 6:00:46
Message-ID: 20100929060046.8EB821203F0 () lists ! fedorahosted ! org
[Download RAW message or body]
commit dca4c2db554fd5ceabfd54b43452c3ef04ce0d75
Author: Ryan McCabe <rmccabe at redhat.com>
Date: Wed Sep 29 02:00:25 2010 -0400
Fix a traceback that occurs when all nodes are unreachable
luci/templates/node.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/luci/templates/node.html b/luci/templates/node.html
index e089af8..02e5537 100644
--- a/luci/templates/node.html
+++ b/luci/templates/node.html
@@ -18,7 +18,7 @@
<body py:with="cluster_data = tmpl_context.cluster.get_model();
cluster_status = tmpl_context.cluster.get_status();
- nodename = (cluster_data.cluster_version <= 2 and name) and name \
or None;"> + nodename = (cluster_data and cluster_data.cluster_version \
<= 2 and name) and name or None;">
<!--! "nodename" parameter is spread to fence_scsi only under
given conditions -->
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic