From 0e39d53352b982022747e451676bc6a66e3d9acc Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 20 Oct 2015 23:37:21 -0400 Subject: refactor --- src/Propellor/Property/ControlHeir.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Propellor/Property') diff --git a/src/Propellor/Property/ControlHeir.hs b/src/Propellor/Property/ControlHeir.hs index 9fd2ce43..ce993a02 100644 --- a/src/Propellor/Property/ControlHeir.hs +++ b/src/Propellor/Property/ControlHeir.hs @@ -179,8 +179,8 @@ controllerFor h = infoProperty desc go (mkControllingInfo h <> privinfo) [] getInfo (hostInfo h) go = do - pm <- liftIO $ filterPrivData h . readPrivData - <$> readFileStrictAnyEncoding privDataLocal + pm <- liftIO $ filterPrivData h + <$> readPrivDataFile privDataLocal liftIO $ spin' (Just pm) Nothing (hostName h) h -- Don't know if the spin made a change to -- the remote host or not, but in any case, -- cgit v1.2.3