Extend the node description by isMaster
[ganeti-local] / src / Ganeti / HTools / Backend / Rapi.hs
index 4654c88..4f8f52b 100644 (file)
@@ -166,7 +166,7 @@ parseNode ktg a = do
               dtotal  <- extract "dtotal"
               dfree   <- extract "dfree"
               ctotal  <- extract "ctotal"
-              return $ Node.create name mtotal mnode mfree
+              return $ Node.create name mtotal mnode mfree 
                      dtotal dfree ctotal False spindles guuid'
   return (name, node)