From 1b86e0194e6cb3713c5288de893d5fe087fa0e2c Mon Sep 17 00:00:00 2001 From: Peter Krenesky Date: Fri, 17 Jun 2011 12:18:28 -0700 Subject: [PATCH] Minor fix: if an instance has an error on deploy it's primary node won't be known. this causes a reverse url lookup error --- ganeti_web/templates/virtual_machine/inner_table.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ganeti_web/templates/virtual_machine/inner_table.html b/ganeti_web/templates/virtual_machine/inner_table.html index af655a6d..9a05b0bc 100644 --- a/ganeti_web/templates/virtual_machine/inner_table.html +++ b/ganeti_web/templates/virtual_machine/inner_table.html @@ -61,7 +61,7 @@ {% endif %} - {% if view_cluster %} + {% if view_cluster and info.pnode %} {{ info.pnode|abbreviate_fqdn }} -- 2.11.4.GIT