Fix typo breaking LUXI backend
authorIustin Pop <iustin@google.com>
Wed, 2 Dec 2009 14:58:14 +0000 (15:58 +0100)
committerIustin Pop <iustin@google.com>
Wed, 2 Dec 2009 14:58:14 +0000 (15:58 +0100)
This really shows the need for actual dist-time full testing (not
unittests).

Ganeti/HTools/Luxi.hs

index a547405..8fe728f 100644 (file)
@@ -151,7 +151,7 @@ getClusterTags :: JSValue -> Result [String]
 getClusterTags v = do
   let errmsg = "Parsing cluster info"
   obj <- annotateResult errmsg $ asJSObject v
-  tags <- tryFromObj errmsg (fromJSObject obj) "tag"
+  tags <- tryFromObj errmsg (fromJSObject obj) "tags"
   return tags
 
 -- * Main loader functionality