From 36da54246e520cadcf65b70b1838683774dbd45f Mon Sep 17 00:00:00 2001 From: Volker Schwicking Date: Wed, 24 Jul 2013 09:10:51 +0200 Subject: [PATCH] cmd_iter_no_block did not pass on tgt to get_iter_returns(). That makes the saltmaster always query ALL minions with saltutil.find_job because get_iter_returns default to tgt='*'. --- salt/client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/salt/client.py b/salt/client.py index 0b1162f929..3401b4cadf 100644 --- a/salt/client.py +++ b/salt/client.py @@ -447,6 +447,7 @@ class LocalClient(object): for fn_ret in self.get_iter_returns(pub_data['jid'], pub_data['minions'], timeout, + tgt, **kwargs): yield fn_ret