diff options
| author | Joey Hess <joey@kitenet.net> | 2014-04-23 15:04:35 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-04-23 15:04:35 -0400 |
| commit | 34c7a1406018ce1566a09f8823a2aeee16f1505a (patch) | |
| tree | 6735d1c1a9493472c69b6dc563da5c05ab573858 /Propellor/Attr.hs | |
| parent | 0bc737c1ba01459124a9f409e79f31923be0217a (diff) | |
propellor spin
Diffstat (limited to 'Propellor/Attr.hs')
| -rw-r--r-- | Propellor/Attr.hs | 2 |
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 |
