From f9b0084aea1f8d18bdd7f0eb11184d05bf2989f4 Mon Sep 17 00:00:00 2001 From: Agata Murawska <agatamurawska@google.com> Date: Fri, 21 Sep 2012 10:44:41 +0200 Subject: [PATCH] Change cluster's hypervisors type We now have Hypervisor type in Objects, might just as well use it. Signed-off-by: Agata Murawska <agatamurawska@google.com> Reviewed-by: Iustin Pop <iustin@google.com> --- htools/Ganeti/Objects.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htools/Ganeti/Objects.hs b/htools/Ganeti/Objects.hs index 2a3207da9..3504ed5cf 100644 --- a/htools/Ganeti/Objects.hs +++ b/htools/Ganeti/Objects.hs @@ -592,7 +592,7 @@ $(buildObject "Cluster" "cluster" $ , simpleField "cluster_name" [t| String |] , simpleField "file_storage_dir" [t| String |] , simpleField "shared_file_storage_dir" [t| String |] - , simpleField "enabled_hypervisors" [t| [String] |] + , simpleField "enabled_hypervisors" [t| [Hypervisor] |] , simpleField "hvparams" [t| ClusterHvParams |] , simpleField "os_hvp" [t| OsHvParams |] , simpleField "beparams" [t| ClusterBeParams |] -- GitLab