propellor spin
This commit is contained in:
parent
3d617fd98b
commit
ac46ab4d0c
|
@ -45,7 +45,5 @@ ensureProperty = catchPropellor . propertySatisfy
|
||||||
fromHost :: [Host] -> HostName -> Propellor a -> Propellor (Maybe a)
|
fromHost :: [Host] -> HostName -> Propellor a -> Propellor (Maybe a)
|
||||||
fromHost l hn getter = case findHost l hn of
|
fromHost l hn getter = case findHost l hn of
|
||||||
Nothing -> return Nothing
|
Nothing -> return Nothing
|
||||||
Just h -> liftIO $ do
|
Just h -> liftIO $ Just <$>
|
||||||
print ("fromHost", hn, "using", h)
|
|
||||||
Just <$>
|
|
||||||
runReaderT (runWithHost getter) h
|
runReaderT (runWithHost getter) h
|
||||||
|
|
Loading…
Reference in New Issue