diff --git a/htools/Ganeti/Rpc.hs b/htools/Ganeti/Rpc.hs index b46b3baa4227d21ef54a9639674d19764c26f992..e0007c8466fbf17a3bffb0645a8f02ee39f93fb6 100644 --- a/htools/Ganeti/Rpc.hs +++ b/htools/Ganeti/Rpc.hs @@ -387,7 +387,7 @@ instance RpcCall RpcCallVersion where rpcCallName _ = "version" rpcCallTimeout _ = rpcTimeoutToRaw Urgent rpcCallAcceptOffline _ = True - rpcCallData call _ = J.encode [call] + rpcCallData _ = J.encode instance Rpc RpcCallVersion RpcResultVersion where rpcResultFill _ res = fromJSValueToRes res RpcResultVersion