summaryrefslogtreecommitdiff
path: root/Propellor/Property/Obnam.hs
diff options
context:
space:
mode:
authorJoey Hess2014-04-18 03:59:06 -0400
committerJoey Hess2014-04-18 03:59:06 -0400
commit4e4fb9ab7ca13f5148c6d4b08f53f518429530a8 (patch)
treee44754f3e3a49d811d3387495ca24a475bd00162 /Propellor/Property/Obnam.hs
parent66921ff667705e427c1000b7ae071f03fc0eb567 (diff)
get rid of AttrProperty
Now both Property and RevertableProperty can influence Attr on their own.
Diffstat (limited to 'Propellor/Property/Obnam.hs')
-rw-r--r--Propellor/Property/Obnam.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Propellor/Property/Obnam.hs b/Propellor/Property/Obnam.hs
index 6fda218a..32374b57 100644
--- a/Propellor/Property/Obnam.hs
+++ b/Propellor/Property/Obnam.hs
@@ -65,7 +65,7 @@ backup dir crontimes params numclients = cronjob `describe` desc
-- The restore is performed atomically; restoring to a temp directory
-- and then moving it to the directory.
restored :: FilePath -> [ObnamParam] -> Property
-restored dir params = Property (dir ++ " restored by obnam") go
+restored dir params = property (dir ++ " restored by obnam") go
`requires` installed
where
go = ifM (liftIO needsRestore)