From b23f0cf501464bb76d78814aed787284cd6c0cfa Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 11 Jul 2018 13:46:38 -0400 Subject: remove debug print --- src/Propellor/Spin.hs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/Propellor/Spin.hs b/src/Propellor/Spin.hs index d3d18b9e..4a945e82 100644 --- a/src/Propellor/Spin.hs +++ b/src/Propellor/Spin.hs @@ -144,12 +144,8 @@ spin' mprivdata relay target hst = do -- the host in it at all, use one of the Host's IPs instead. getSshTarget :: HostName -> Host -> IO String getSshTarget target hst - | null configips = do - print "no configured IPs" - return target - | otherwise = do - print configips - go =<< tryIO (dnslookup target) + | null configips = return target + | otherwise = go =<< tryIO (dnslookup target) where go (Left e) = useip (show e) go (Right addrinfos) = do -- cgit v1.2.3