mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Removing some redundant code. This was moved to be above the loop exit
This commit is contained in:
parent
892db93189
commit
5fab63186c
@ -111,8 +111,6 @@ def _publish(
|
||||
return cret
|
||||
else:
|
||||
return ret
|
||||
if (loop_interval * loop_counter) > timeout:
|
||||
return {}
|
||||
loop_counter = loop_counter + 1
|
||||
time.sleep(loop_interval)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user