From 64272529e7cb394e4a2d7d99faa4187eb603e3c5 Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Thu, 23 Oct 2008 14:18:53 +0000
Subject: [PATCH] Fix leftover of hypervisor attribute rename

Reviewed-by: imsnah
---
 lib/config.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/config.py b/lib/config.py
index 3fd8dc57f..a81b75519 100644
--- a/lib/config.py
+++ b/lib/config.py
@@ -507,7 +507,7 @@ class ConfigWriter:
     """Get the hypervisor type for this cluster.
 
     """
-    return self._config_data.cluster.hypervisor
+    return self._config_data.cluster.default_hypervisor
 
   @locking.ssynchronized(_config_lock, shared=1)
   def GetHostKey(self):
-- 
GitLab