Skip to content

Commit

Permalink
GH #755 - Do not wait if nothing is missing.
Browse files Browse the repository at this point in the history
  • Loading branch information
dsuch committed Oct 22, 2023
1 parent bc0ac33 commit 4eb5127
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/zato-cli/src/zato/cli/enmasse.py
Original file line number Diff line number Diff line change
Expand Up @@ -2689,6 +2689,10 @@ def run_import(self) -> 'anylist':
# .. such as missing services, we will keep running ..
missing = self._get_missing_objects(warnings_errors)

# .. if nothing is missing, we can return as well ..
if not missing:
return warnings_errors

# .. for reporting purposes, get information on how much longer are to wait ..
wait_delta = wait_until - now

Expand Down

0 comments on commit 4eb5127

Please sign in to comment.