summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cloudmasterd/lib/cloudmasterd.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudmasterd/lib/cloudmasterd.rb b/cloudmasterd/lib/cloudmasterd.rb
index 89a2e1e..5411c35 100644
--- a/cloudmasterd/lib/cloudmasterd.rb
+++ b/cloudmasterd/lib/cloudmasterd.rb
@@ -220,8 +220,8 @@ module Cloudmasterd::Controllers
@cloud_names = {}
@cloud_machines.each do |machine|
printed_name = machine.name
- if machine.type
- printed_name += (machine.type == "Xen") ? " (Xen)": " (KVM)"
+ if machine.virttype
+ printed_name += (machine.virttype == "Xen") ? " (Xen)": " (KVM)"
end
@cloud_names[machine.name] = printed_name
end