func/overlord

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 func/overlord/client.py |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 60374047837186071e144887b3a0071eba5184e1
Author: Seth Vidal <skvidal@xxxxxxxxxxxxxxxxx>
Date:   Mon Jul 26 13:35:43 2010 -0400

    - only emit about downed hosts when verbose is True

diff --git a/func/overlord/client.py b/func/overlord/client.py
index 85d1897..b3976f7 100644
--- a/func/overlord/client.py
+++ b/func/overlord/client.py
@@ -221,9 +221,8 @@ class Minions(object):
         results = []
         
         for host in hosts:
-            if host in self.downed_hosts:
+            if host in self.downed_hosts and self.verbose:
                 sys.stderr.write("%s excluded due to being listed in %s\n" % (host, self.overlord_config.host_down_list))
-                # FIXME maybe we should splat something to the logs?
                 continue
             if not self.just_fqdns:
                 host_res = "https://%s:%s"; % (host, self.port)


_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list


[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux