rest of the deserializeKey renameing
This commit is contained in:
parent
1791447cc8
commit
303e828b7c
15 changed files with 19 additions and 19 deletions
|
@ -40,7 +40,7 @@ data KeyStatus = KeyStatus Key UUID LogStatus
|
|||
|
||||
parseKeyStatus :: [String] -> Either String KeyStatus
|
||||
parseKeyStatus (ks:us:vs:[]) = do
|
||||
k <- maybe (Left "bad key") Right (file2key ks)
|
||||
k <- maybe (Left "bad key") Right (deserializeKey ks)
|
||||
let u = toUUID us
|
||||
s <- maybe (Left "bad value") Right (parseStatus vs)
|
||||
return $ KeyStatus k u s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue