summaryrefslogtreecommitdiff
path: root/Propellor/Attr.hs
diff options
context:
space:
mode:
authorJoey Hess2014-04-23 15:04:35 -0400
committerJoey Hess2014-04-23 15:04:35 -0400
commit34c7a1406018ce1566a09f8823a2aeee16f1505a (patch)
tree6735d1c1a9493472c69b6dc563da5c05ab573858 /Propellor/Attr.hs
parent0bc737c1ba01459124a9f409e79f31923be0217a (diff)
propellor spin
Diffstat (limited to 'Propellor/Attr.hs')
-rw-r--r--Propellor/Attr.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Propellor/Attr.hs b/Propellor/Attr.hs
index acaf28db..98cfc64d 100644
--- a/Propellor/Attr.hs
+++ b/Propellor/Attr.hs
@@ -59,7 +59,7 @@ addNamedConf conf d = d { _namedconf = new }
where
m = _namedconf d
domain = confDomain conf
- new = case (confType conf, confType <$> M.lookup domain m) of
+ new = case (confDnsServerType conf, confDnsServerType <$> M.lookup domain m) of
(Secondary, Just Master) -> m
_ -> M.insert domain conf m