mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Adds missing show_timeout case
This commit is contained in:
parent
1e99177c92
commit
0f3fd15fb2
@ -1025,6 +1025,7 @@ class LocalClient(object):
|
||||
tgt='*',
|
||||
tgt_type='glob',
|
||||
verbose=False,
|
||||
show_timeout=False,
|
||||
show_jid=False):
|
||||
'''
|
||||
Get the returns for the command line interface via the event system
|
||||
@ -1074,7 +1075,7 @@ class LocalClient(object):
|
||||
# All minions have returned, break out of the loop
|
||||
break
|
||||
if int(time.time()) > timeout_at:
|
||||
if verbose:
|
||||
if verbose or show_timeout:
|
||||
if self.opts.get('minion_data_cache', False) \
|
||||
or tgt_type in ('glob', 'pcre', 'list'):
|
||||
if len(found) < len(minions):
|
||||
|
Loading…
Reference in New Issue
Block a user