summaryrefslogtreecommitdiff
path: root/src/Propellor/Engine.hs
diff options
context:
space:
mode:
authorJoey Hess2014-05-31 20:48:23 -0400
committerJoey Hess2014-05-31 20:48:23 -0400
commit58c8d74b4c4917f9f5e566709202ad432a7b2a6f (patch)
tree65da63c631e875a1bf074da920e145d07d011698 /src/Propellor/Engine.hs
parente133536c3f7cc4dd816b8c5fe97e3131411a5ae9 (diff)
simplified record accessors
Diffstat (limited to 'src/Propellor/Engine.hs')
-rw-r--r--src/Propellor/Engine.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Engine.hs b/src/Propellor/Engine.hs
index 7cee42e8..ca0f7265 100644
--- a/src/Propellor/Engine.hs
+++ b/src/Propellor/Engine.hs
@@ -32,7 +32,7 @@ ensureProperties ps = ensure ps NoChange
where
ensure [] rs = return rs
ensure (l:ls) rs = do
- hn <- getHostName
+ hn <- asks hostName
r <- actionMessageOn hn (propertyDesc l) (ensureProperty l)
ensure ls (r <> rs)