Revision 289e7fcc src/Ganeti/Rpc.hs
b/src/Ganeti/Rpc.hs | ||
---|---|---|
160 | 160 |
|
161 | 161 |
-- | Check if a string represented address is IPv6 |
162 | 162 |
isIpV6 :: String -> Bool |
163 |
isIpV6 ip = elem ':' ip
|
|
163 |
isIpV6 = (':' `elem`)
|
|
164 | 164 |
|
165 | 165 |
-- | Prepare url for the HTTP request. |
166 | 166 |
prepareUrl :: (RpcCall a) => Node -> a -> String |
Also available in: Unified diff