diff options
| author | Joey Hess <joey@kitenet.net> | 2014-05-31 18:02:56 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-05-31 18:04:41 -0400 |
| commit | 5fc4b006517051e937cbfa13b5f7ccbc25460c1b (patch) | |
| tree | f99b7dcf46d262f13aa80fb39c8fcc1a67c951a9 /src/Propellor/Property.hs | |
| parent | d3ac75a1a29e9eda60b78d25e7352d4a2d5713cc (diff) | |
remove now redundant _hostname field of Attr
Now that Host includes _hostName, it's redundant to also keep it in Attr.
This requires changing the reader monad to operate on the whole Host.
Diffstat (limited to 'src/Propellor/Property.hs')
| -rw-r--r-- | src/Propellor/Property.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property.hs b/src/Propellor/Property.hs index 1f602624..f2a4b3dd 100644 --- a/src/Propellor/Property.hs +++ b/src/Propellor/Property.hs @@ -130,7 +130,7 @@ revert (RevertableProperty p1 p2) = RevertableProperty p2 p1 -- > ! oldproperty -- > & otherproperty host :: HostName -> Host -host hn = Host hn [] (\_ -> newAttr hn) +host hn = Host hn [] (\_ -> newAttr) -- | Adds a property to a Host -- |
