propellor spin

This commit is contained in:
Joey Hess 2014-07-23 12:33:44 -04:00
parent 3d617fd98b
commit ac46ab4d0c
Failed to extract signature
1 changed files with 2 additions and 4 deletions

View File

@ -45,7 +45,5 @@ ensureProperty = catchPropellor . propertySatisfy
fromHost :: [Host] -> HostName -> Propellor a -> Propellor (Maybe a)
fromHost l hn getter = case findHost l hn of
Nothing -> return Nothing
Just h -> liftIO $ do
print ("fromHost", hn, "using", h)
Just <$>
runReaderT (runWithHost getter) h
Just h -> liftIO $ Just <$>
runReaderT (runWithHost getter) h