mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
'and' on the next line
This commit is contained in:
parent
3a0ca3e950
commit
31af43812d
@ -3208,8 +3208,8 @@ class ProxyMinion(Minion):
|
||||
# proxy keepalive
|
||||
proxy_alive_fn = fq_proxyname+'.alive'
|
||||
if (proxy_alive_fn in self.proxy
|
||||
and 'status.proxy_reconnect' in self.functions and
|
||||
self.opts.get('proxy_keep_alive', True)):
|
||||
and 'status.proxy_reconnect' in self.functions
|
||||
and self.opts.get('proxy_keep_alive', True)):
|
||||
# if `proxy_keep_alive` is either not specified, either set to False does not retry reconnecting
|
||||
self.schedule.add_job({
|
||||
'__proxy_keepalive':
|
||||
|
Loading…
Reference in New Issue
Block a user